Skip to content
Snippets Groups Projects
Verified Commit b033e915 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

ci(gitlab-ci): Switch to semantic-releases are version source

parent 1362d356
No related branches found
No related tags found
No related merge requests found
Pipeline #12674 passed with warnings
...@@ -10,9 +10,6 @@ stages: ...@@ -10,9 +10,6 @@ stages:
- release - release
- deploy - deploy
variables:
CI_REGISTRY_IMAGE_VERSION: "3.0.1"
container-testing: container-testing:
stage: test stage: test
image: quay.io/sheogorath/build-ah-engine:1.3.0 image: quay.io/sheogorath/build-ah-engine:1.3.0
...@@ -32,6 +29,13 @@ container-testing: ...@@ -32,6 +29,13 @@ container-testing:
tags: tags:
- amd64 - amd64
container-tagging:
stage: deploy
variables:
CI_REGISTRY_IMAGE_VERSION: "$CI_COMMIT_TAG"
rules:
- if: $CI_COMMIT_TAG
deploy: deploy:
stage: deploy stage: deploy
variables: variables:
...@@ -40,7 +44,8 @@ deploy: ...@@ -40,7 +44,8 @@ deploy:
project: shivering-isles/ansible-infrastructure-deploy project: shivering-isles/ansible-infrastructure-deploy
strategy: depend strategy: depend
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: $CI_COMMIT_TAG
release: release:
image: image:
name: ghcr.io/go-semantic-release/semantic-release:2.20.0 name: ghcr.io/go-semantic-release/semantic-release:2.20.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment