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\/.*$/
|
||||
|
||||
dockerPush:
|
||||
stage: .post
|
||||
stage: build
|
||||
image: docker:latest
|
||||
services:
|
||||
- docker:dind
|
||||
- name: docker:dind
|
||||
alias: docker
|
||||
before_script:
|
||||
- cp .config/ci.yml .config/default.yml
|
||||
- cp .config/docker_ci.env .config/docker.env
|
||||
- docker info
|
||||
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