fix image name
This commit is contained in:
parent
adc5ad66b1
commit
44c67ffd42
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue