Skip to content
Snippets Groups Projects
Commit adc66e60 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'bugfix/ensure-docker-correct-version' into 'master'

[CI] Ensure PyPI and docker builds are run in correct order

See merge request !512
parents 86c15195 c2392a1e
No related branches found
No related tags found
1 merge request!512[CI] Ensure PyPI and docker builds are run in correct order
Pipeline #6267 failed
......@@ -10,8 +10,8 @@ include:
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/docker.yml
file: /ci/publish/pypi.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy/pages.yml
file: /ci/docker/image.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy/pypi.yml
file: /ci/deploy/pages.yml
......@@ -40,9 +40,10 @@ RUN case ",$EXTRAS," in \
esac
# Install core
ARG APP_VERISON=""
RUN set -e; \
mkdir -p /var/lib/aleksis/media /usr/share/aleksis/static /var/lib/aleksis/backups; \
eatmydata pip install AlekSIS-Core\[$EXTRAS\]
eatmydata pip install AlekSIS-Core\[$EXTRAS\]$APP_VERSION
# Declare a persistent volume for all data
VOLUME /var/lib/aleksis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment