Skip to content
Snippets Groups Projects
Commit 065c4f9b authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Use semantic versioning

parent 38e86083
No related branches found
No related tags found
No related merge requests found
Pipeline #25799 passed
...@@ -47,7 +47,7 @@ build: ...@@ -47,7 +47,7 @@ build:
# Here docker buildx can use cached images created in previous step # Here docker buildx can use cached images created in previous step
- docker buildx build --platform $PLATFORMS --file $DOCKERFILE --push --tag $CONTAINER_IMAGE . - docker buildx build --platform $PLATFORMS --file $DOCKERFILE --push --tag $CONTAINER_IMAGE .
rules: rules:
- if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^v_[0-9]+(\.[0-9]+)*$/ || $CI_COMMIT_TAG =~ /^v_[0-9]+(\.[0-9]+)*$/' - if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^v[0-9]+(\.[0-9]+)*$/'
release-image: release-image:
stage: release stage: release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment