Remove HEX_MIRROR uses
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
0b04980332
commit
a731a96b58
@ -32,7 +32,6 @@ variables:
|
|||||||
APP_VERSION: "${CI_COMMIT_REF_NAME}"
|
APP_VERSION: "${CI_COMMIT_REF_NAME}"
|
||||||
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
||||||
CYPRESS_INSTALL_BINARY: 0
|
CYPRESS_INSTALL_BINARY: 0
|
||||||
HEX_MIRROR: https://cdn.jsdelivr.net/hex
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
|
key: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
|
||||||
|
@ -32,7 +32,7 @@ WORKDIR /mobilizon
|
|||||||
|
|
||||||
# Elixir release
|
# Elixir release
|
||||||
RUN source /root/.bashrc && \
|
RUN source /root/.bashrc && \
|
||||||
HEX_MIRROR="https://cdn.jsdelivr.net/hex" mix deps.get --only prod && \
|
mix deps.get --only prod && \
|
||||||
mix compile && \
|
mix compile && \
|
||||||
mix phx.digest.clean --all && \
|
mix phx.digest.clean --all && \
|
||||||
mix release --path release/mobilizon && \
|
mix release --path release/mobilizon && \
|
||||||
|
@ -20,7 +20,7 @@ COPY mix.exs mix.lock ./
|
|||||||
ENV MIX_ENV=prod
|
ENV MIX_ENV=prod
|
||||||
RUN mix local.hex --force \
|
RUN mix local.hex --force \
|
||||||
&& mix local.rebar --force \
|
&& mix local.rebar --force \
|
||||||
&& HEX_MIRROR="https://cdn.jsdelivr.net/hex" mix deps.get
|
&& mix deps.get
|
||||||
|
|
||||||
COPY lib ./lib
|
COPY lib ./lib
|
||||||
COPY priv ./priv
|
COPY priv ./priv
|
||||||
|
Loading…
Reference in New Issue
Block a user