fix image name

This commit is contained in:
Seraphim Strub 2023-01-26 22:38:24 +01:00
parent adc5ad66b1
commit 44c67ffd42

View file

@ -17,8 +17,8 @@
tag=":$CI_COMMIT_REF_SLUG" tag=":$CI_COMMIT_REF_SLUG"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag" echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi fi
- docker build --pull --build-arg GO_CMD=${GO_CMD} -t "$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}" - docker push "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}"
# Run this job in a branch where a Dockerfile exists # Run this job in a branch where a Dockerfile exists
rules: rules:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH