mirror of
https://github.com/elyby/accounts.git
synced 2024-12-29 00:20:22 +05:30
При билде production теперь используется конфиг из ENV переменной [skip ci]
This commit is contained in:
parent
49fb2efc0c
commit
fb0dde4abc
@ -37,6 +37,7 @@ build:production:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker login -u gitlab-ci -p $CI_BUILD_TOKEN registry.ely.by
|
- docker login -u gitlab-ci -p $CI_BUILD_TOKEN registry.ely.by
|
||||||
- echo "$SSH_PRIVATE_KEY" > id_rsa
|
- echo "$SSH_PRIVATE_KEY" > id_rsa
|
||||||
|
- echo "$FRONTEND_ENV_CONFIG" > frontend/config/env.js
|
||||||
script:
|
script:
|
||||||
- export IMAGE_NAME="$CONTAINER_IMAGE:latest"
|
- export IMAGE_NAME="$CONTAINER_IMAGE:latest"
|
||||||
- docker build --pull -t $IMAGE_NAME .
|
- docker build --pull -t $IMAGE_NAME .
|
||||||
|
Loading…
Reference in New Issue
Block a user