Fix CI config.
This commit is contained in:
parent
dec022e460
commit
1210ecb510
@ -14,9 +14,6 @@ stages:
|
|||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
before_script:
|
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: test
|
stage: test
|
||||||
image: ${GOLANGCILINT_IMAGE}
|
image: ${GOLANGCILINT_IMAGE}
|
||||||
@ -31,6 +28,7 @@ build:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
|
#- 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