Skip to content

Commit 310833f

Browse files
author
Christian Roessner
committed
Fix: Add version-specific Docker tags
Implemented extraction of major, minor, and patch versions from tags. Updated the build-and-push step to push these specific version tags to the GitHub Container Registry.
1 parent e6d9127 commit 310833f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-stable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Extract tag versions
2828
id: extract_version
2929
run: |
30-
tag=${GITHUB_REF##*/} # gets the tag name, e.g., v1.2.3
30+
tag=${GITHUB_REF##*/}
3131
major=$(echo $tag | cut -d'.' -f1)
3232
minor=$(echo $tag | cut -d'.' -f2)
3333
patch=$(echo $tag | cut -d'.' -f3)

0 commit comments

Comments
 (0)