Fixed DIND in gitlab pipeline
This commit is contained in:
parent
9a2bb69bc8
commit
b097cf2ab3
1 changed files with 5 additions and 1 deletions
|
|
@ -4,8 +4,12 @@ test:
|
|||
script:
|
||||
- go test ./...
|
||||
deploy:
|
||||
image: "docker:19.03"
|
||||
stage: deploy
|
||||
image: "docker:19.03.12"
|
||||
variables:
|
||||
DOCKER_TLS_CERTDIR: "/certs"
|
||||
services:
|
||||
- docker:19.03.12-dind
|
||||
script:
|
||||
- docker build . -t $DOCKER_IMAGE_TAG:$CI_JOB_ID$CI_COMMIT_SHORT_SHA
|
||||
- docker login $REGISTRY_NAME -u $DOCKER_USER -p $DOCKER_PASSWORD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue