Skip to content

Commit

Permalink
fix docker tag jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelacroix committed Nov 7, 2023
1 parent 15869b6 commit 4edcbdf
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 @@ -149,7 +149,7 @@ tag_image_prerelease:
- |
export PRERELEASE_TAG=$CI_REGISTRY_IMAGE:$(echo $CI_COMMIT_TAG | sed 's/^v//')
docker tag $IMAGE_TAG $PRERELEASE_TAG
- docker push --all-tags $IMAGE_TAG
- docker push --all-tags $CI_REGISTRY_IMAGE
variables:
GIT_STRATEGY: none

Expand All @@ -170,7 +170,7 @@ tag_image_release:
- |
export MAJOR_TAG=$CI_REGISTRY_IMAGE:$(echo $CI_COMMIT_TAG | sed -E 's/^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/\1/')
docker tag $IMAGE_TAG $MAJOR_TAG
- docker push --all-tags $IMAGE_TAG
- docker push --all-tags $CI_REGISTRY_IMAGE
variables:
GIT_STRATEGY: none

Expand Down

0 comments on commit 4edcbdf

Please sign in to comment.