Skip to content
Snippets Groups Projects
Commit 8991933f authored by Daniel Dehennin's avatar Daniel Dehennin
Browse files

Merge branch 'feature/tag-contributor-containers' into 'dev'

feat(docker): tag docker image of contributor branches

See merge request !33
parents a478f00a 1ddb17e4
No related branches found
No related tags found
3 merge requests!35Publish the new release,!34Prepare new release,!33feat(docker): tag docker image of contributor branches
Pipeline #10257 passed
......@@ -36,6 +36,15 @@ build-docker:
- .docker-matrix
- .tag-docker-image
## tag contribution branches with a more stable name than `git-${CI_COMMIT_SHORT_SHA}`
tag contrib branch:
extends:
- .tag-docker
- .on-branches
variables:
# `feature/foo-bar_quux` → `feature-foo-bar-quux`
IMAGE_TAG: $CI_COMMIT_REF_SLUG
## dev images
tag dev:
extends:
......
......@@ -342,6 +342,15 @@ you need mostly 4 steps:
# Remove `upstream` to avoid caching `CI_JOB_TOKEN`
- "git remote remove upstream"
## tag contribution branches with a more stable name than `git-${CI_COMMIT_SHORT_SHA}`
tag contrib branch:
extends:
- .tag-docker-image
- .on-branches
variables:
# `feature/foo-bar_quux` → `feature-foo-bar-quux`
IMAGE_TAG: $CI_COMMIT_REF_SLUG
## dev images
tag dev:
extends:
......
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