Fix package-app job when used with other jobs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-01-27 11:42:46 +01:00
parent 2810102136
commit 491a40460f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -205,15 +205,13 @@ build-docker-tag:
package-app:
stage: package
before_script:
- apt update
- apt install -y --no-install-recommends build-essential git cmake
variables:
MIX_ENV: "prod"
script:
- mix local.hex --force
- mix local.rebar --force
- cp docker/production/releases.exs ./config/
- mix deps.get
- mix phx.digest
- mix release
artifacts: