We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ed1cb commit f7a9873Copy full SHA for f7a9873
1 file changed
.github/workflows/container-release.yml
@@ -38,7 +38,10 @@ jobs:
38
39
- name: Extract version from tag
40
id: get_version
41
- run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
+ run: |
42
+ VERSION_TAG=${GITHUB_REF#refs/tags/}
43
+ echo "TAG=${VERSION_TAG}" >> $GITHUB_OUTPUT
44
+ echo "VERSION=${VERSION_TAG#v}" >> $GITHUB_OUTPUT
45
46
- name: Set repository name to lowercase
47
id: repo_lowercase
@@ -50,6 +53,6 @@ jobs:
50
53
context: .
51
54
file: ./Dockerfile
52
55
push: true
- tags: ghcr.io/${{ steps.repo_lowercase.outputs.NAME }}:${{ steps.get_version.outputs.VERSION }}
56
+ tags: ghcr.io/${{ steps.repo_lowercase.outputs.NAME }}:${{ steps.get_version.outputs.TAG }}
57
build-args: |
58
TRIMMOMATIC_VERSION=${{ steps.get_version.outputs.VERSION }}
0 commit comments