Skip to content

Commit

Permalink
Tag docker container with a correct semver version (2.9.0, 2.9, 2 ins…
Browse files Browse the repository at this point in the history
…tead of v2.8, v2)
  • Loading branch information
JensForstmann committed Oct 8, 2024
1 parent 68e597d commit 195f887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: olegtarasov/get-tag@v2.1
id: tagName
with:
tagRegex: "(?<major>.*)\\.(?<minor>.*)"
tagRegex: "v(?<major>.*)\\.(?<minor>.*)\\.(?<patch>.*)"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -33,3 +33,4 @@ jobs:
tags: |
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}.${{ steps.tagName.outputs.minor }}
jensforstmann/tmt2:${{ steps.tagName.outputs.major }}.${{ steps.tagName.outputs.minor }}.${{ steps.tagName.outputs.patch }}

0 comments on commit 195f887

Please sign in to comment.