Skip to content
Snippets Groups Projects
Unverified Commit 3cf404af authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add 'create' to CLI

parent 926ec930
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ tag-latest:
- if: $CI_COMMIT_TAG
when: manual
script:
- docker buildx imagetools --tag $CI_REGISTRY_IMAGE:latest $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker buildx imagetools create --tag $CI_REGISTRY_IMAGE:latest $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
tag-major:
stage: tag
......@@ -35,7 +35,7 @@ tag-major:
when: manual
script:
- export newtag=$(echo $CI_COMMIT_TAG | cut -d. -f 1)
- docker buildx imagetools --tag $CI_REGISTRY_IMAGE:$newtag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker buildx imagetools create --tag $CI_REGISTRY_IMAGE:$newtag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
tag-minor:
stage: tag
......@@ -45,4 +45,4 @@ tag-minor:
when: manual
script:
- export newtag=$(echo $CI_COMMIT_TAG | cut -d. -f 1-2)
- docker buildx imagetools --tag $CI_REGISTRY_IMAGE:$newtag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker buildx imagetools create --tag $CI_REGISTRY_IMAGE:$newtag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment