fix: 💚 docker service alias
This commit is contained in:
parent
3ad8c9b491
commit
d5236c6222
1 changed files with 4 additions and 2 deletions
|
@ -47,13 +47,15 @@ testCommit:
|
||||||
- /^feature\/.*$/
|
- /^feature\/.*$/
|
||||||
|
|
||||||
dockerPush:
|
dockerPush:
|
||||||
stage: .post
|
stage: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- name: docker:dind
|
||||||
|
alias: docker
|
||||||
before_script:
|
before_script:
|
||||||
- cp .config/ci.yml .config/default.yml
|
- cp .config/ci.yml .config/default.yml
|
||||||
- cp .config/docker_ci.env .config/docker.env
|
- cp .config/docker_ci.env .config/docker.env
|
||||||
|
- docker info
|
||||||
script:
|
script:
|
||||||
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
|
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
|
||||||
- echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
- echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
||||||
|
|
Loading…
Reference in a new issue