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