fix: 💚 Docker env for CI
This commit is contained in:
parent
6c86e842b2
commit
cac582a60d
3 changed files with 6 additions and 0 deletions
4
.config/docker_ci.env
Normal file
4
.config/docker_ci.env
Normal file
|
@ -0,0 +1,4 @@
|
|||
# db settings
|
||||
POSTGRES_PASSWORD=test
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_DB=postgres
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,6 +25,7 @@ coverage
|
|||
!/.config/example.yml
|
||||
!/.config/devenv.yml
|
||||
!/.config/docker_example.env
|
||||
!/.config/docker_ci.env
|
||||
!/.config/helm_values_example.yml
|
||||
!/.config/LICENSE
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ dockerPush:
|
|||
- docker:dind
|
||||
before_script:
|
||||
- cp .config/ci.yml .config/default.yml
|
||||
- cp .config/docker_ci.env .config/docker.env
|
||||
script:
|
||||
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
|
||||
- echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
||||
|
|
Loading…
Reference in a new issue