Skip to content

Commit e7f2956

Browse files
committed
fix incorrect tag in release workflow
1 parent ddacefa commit e7f2956

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/server_release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ jobs:
4545
4646
- name: Checkout
4747
uses: actions/checkout@v4
48+
49+
- name: Extract version
50+
id: version
51+
run: |
52+
VERSION=${GITHUB_REF_NAME#server/}
53+
echo "VERSION=$VERSION" >> $GITHUB_ENV
54+
echo "version=$VERSION" >> $GITHUB_OUTPUT
4855
4956
- name: Inject cache docker image
5057
working-directory: refact-server
@@ -76,7 +83,7 @@ jobs:
7683
push: true
7784
context: refact-server
7885
tags: |
79-
smallcloud/refact_self_hosting:${{github.ref_name}}
86+
smallcloud/refact_self_hosting:${{ env.VERSION }}
8087
smallcloud/refact_self_hosting:latest
8188
platforms: |
8289
linux/amd64

0 commit comments

Comments
 (0)