Fix registry logging in by CI when uploading Docker image.
This commit is contained in:
parent
968d945205
commit
383233202e
@ -29,7 +29,7 @@ build:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
#- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- source docker/set_docker_tag.sh
|
- source docker/set_docker_tag.sh
|
||||||
- docker build -t $CONTAINER_NAME:$DOCKER_TAG .
|
- docker build -t $CONTAINER_NAME:$DOCKER_TAG .
|
||||||
- docker push $CONTAINER_NAME:$DOCKER_TAG
|
- docker push $CONTAINER_NAME:$DOCKER_TAG
|
||||||
|
Loading…
Reference in New Issue
Block a user