From 0de23bea68614cb4f2d6528ae0c4858dab3c8a46 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 26 Sep 2020 10:59:35 +0200 Subject: [PATCH] fix --- gitlab-ci-template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab-ci-template.yml b/gitlab-ci-template.yml index 49c2150..8938840 100644 --- a/gitlab-ci-template.yml +++ b/gitlab-ci-template.yml @@ -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;