forked from potsda.mn/mobilizon
Fix package-app job when used with other jobs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2810102136
commit
491a40460f
|
@ -205,15 +205,13 @@ build-docker-tag:
|
||||||
|
|
||||||
package-app:
|
package-app:
|
||||||
stage: package
|
stage: package
|
||||||
before_script:
|
|
||||||
- apt update
|
|
||||||
- apt install -y --no-install-recommends build-essential git cmake
|
|
||||||
variables:
|
variables:
|
||||||
MIX_ENV: "prod"
|
MIX_ENV: "prod"
|
||||||
script:
|
script:
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
- cp docker/production/releases.exs ./config/
|
- cp docker/production/releases.exs ./config/
|
||||||
|
- mix deps.get
|
||||||
- mix phx.digest
|
- mix phx.digest
|
||||||
- mix release
|
- mix release
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue