From 44c67ffd4233a5fc1eeb3205de1cb29a9d749b53 Mon Sep 17 00:00:00 2001 From: Seraphim Strub Date: Thu, 26 Jan 2023 22:38:24 +0100 Subject: [PATCH] fix image name --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73742fd..ac13520 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,8 @@ tag=":$CI_COMMIT_REF_SLUG" echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag" fi - - docker build --pull --build-arg GO_CMD=${GO_CMD} -t "$CI_REGISTRY_IMAGE/${GO_CMD}/${tag}" . - - docker push "$CI_REGISTRY_IMAGE/${GO_CMD}/${tag}" + - docker build --pull --build-arg GO_CMD=${GO_CMD} -t "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}" . + - docker push "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}" # Run this job in a branch where a Dockerfile exists rules: - if: $CI_COMMIT_BRANCH