Skip to content

Commit

Permalink
Remove prefix v from image tag (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
Viacheslav Katsuba authored Mar 2, 2021
1 parent d6dea5a commit 5a2f73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ docker:
esac
- |
if [ $CI_COMMIT_REF_NAME == "master" ] ; then
export TAGS="-t ${REGISTRY}/${BUILD_IMAGE}:v${CI_COMMIT_DESCRIBE}"
export TAGS="-t ${REGISTRY}/${BUILD_IMAGE}:${CI_COMMIT_DESCRIBE}"
else
export TAGS="-t ${REGISTRY}/${BUILD_IMAGE}:${CI_COMMIT_REF_SLUG}_v${CI_COMMIT_DESCRIBE}"
export TAGS="-t ${REGISTRY}/${BUILD_IMAGE}:${CI_COMMIT_REF_SLUG}_${CI_COMMIT_DESCRIBE}"
fi
- docker login -u ${QUAY_USER_ID} -p ${QUAY_TOKEN} ${REGISTRY}
- |
Expand Down

0 comments on commit 5a2f73d

Please sign in to comment.