Skip to content

Commit f7a9873

Browse files
committed
FIX docker
1 parent 18ed1cb commit f7a9873

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/container-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838

3939
- name: Extract version from tag
4040
id: get_version
41-
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
41+
run: |
42+
VERSION_TAG=${GITHUB_REF#refs/tags/}
43+
echo "TAG=${VERSION_TAG}" >> $GITHUB_OUTPUT
44+
echo "VERSION=${VERSION_TAG#v}" >> $GITHUB_OUTPUT
4245
4346
- name: Set repository name to lowercase
4447
id: repo_lowercase
@@ -50,6 +53,6 @@ jobs:
5053
context: .
5154
file: ./Dockerfile
5255
push: true
53-
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 }}
5457
build-args: |
5558
TRIMMOMATIC_VERSION=${{ steps.get_version.outputs.VERSION }}

0 commit comments

Comments
 (0)