File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 . \
1919 --file Dockerfile \
2020 --tag amulet-editor:latest \
21- --build-arg AMULET_VERSION=PATH:$PWD
21+ --build-arg AMULET_VERSION=CUSTOM:git+https://github.com/Amulet-Team/Amulet-Map-Editor.git@${{ github.event.release.tag_name }}
2222
2323 - name : Save Docker image to tar archive
2424 run : |
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ RUN apt-get update && apt install libgtk-3-dev dbus-x11 wget libnotify4 -y
33RUN pip install --upgrade pip
44RUN wget https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-11/wxPython-4.2.0-cp39-cp39-linux_x86_64.whl && pip install wxPython-4.2.0-cp39-cp39-linux_x86_64.whl
55ARG AMULET_VERSION=RELEASE # defaults to the latest version if no arg is given in build command.
6- RUN if [ "$(echo " $AMULET_VERSION" | cut -c1-5 )" = "PATH :" ]; then \
7- pip install "$(echo " $AMULET_VERSION" | cut -c6 -)" ; \
6+ RUN if [ "$(echo " $AMULET_VERSION" | cut -c1-7 )" = "CUSTOM :" ]; then \
7+ pip install "$(echo " $AMULET_VERSION" | cut -c8 -)" ; \
88 elif [ "$AMULET_VERSION" = "RELEASE" ]; then \
99 pip install --upgrade --upgrade-strategy eager amulet-map-editor; \
1010 elif [ "$AMULET_VERSION" = "BETA" ]; then \
You can’t perform that action at this time.
0 commit comments