Skip to content
Snippets Groups Projects
Unverified Commit e856cf7e authored by Andrej Shadura's avatar Andrej Shadura
Browse files

CI: Always tag on */production and */staging branches

parent 0f2160b2
No related branches found
No related tags found
1 merge request!83CI: Always tag on */production and */staging branches
Pipeline #133783 passed
...@@ -190,6 +190,8 @@ tag-latest-docker-image: ...@@ -190,6 +190,8 @@ tag-latest-docker-image:
"docker://$CI_REGISTRY_IMAGE/$image:$TAG_NEW" "docker://$CI_REGISTRY_IMAGE/$image:$TAG_NEW"
echo Tagged "$CI_REGISTRY_IMAGE/$image:$TAG_NEW" echo Tagged "$CI_REGISTRY_IMAGE/$image:$TAG_NEW"
done done
only: rules:
variables: - if: $CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH
- $CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH when: always
- if: $CI_COMMIT_BRANCH =~ /\/(production|staging)$/
when: always
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment