fix
This commit is contained in:
@ -31,14 +31,14 @@ build:
|
||||
script:
|
||||
.
|
||||
- if [ "$CI_COMMIT_TAG" = "" ]; then
|
||||
docker build . ;
|
||||
docker build .;
|
||||
else
|
||||
docker build
|
||||
--tag $IMAGE_NAME:latest
|
||||
--tag $IMAGE_NAME:${CI_COMMIT_TAG}
|
||||
--tag $HUB_IMAGE_NAME:latest
|
||||
--tag $HUB_IMAGE_NAME:${CI_COMMIT_TAG}
|
||||
. ;
|
||||
.;
|
||||
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN
|
||||
$CI_REGISTRY;
|
||||
docker push $IMAGE_NAME:latest;
|
||||
|
Reference in New Issue
Block a user