Skip to content

Commit 0ef4743

Browse files
committed
fix ref name in gh action
1 parent 4ebb499 commit 0ef4743

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
uses: docker/build-push-action@v3
2929
with:
3030
push: true
31-
tags: lovasoa/sqlsite:latest,lovasoa/sqlsite:${{ github.ref }}
31+
tags: lovasoa/sqlsite:latest,lovasoa/sqlsite:${{ github.ref_name }}
3232
cache-from: type=registry,ref=lovasoa/sqlsite:latest
3333
cache-to: type=inline

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
with:
49-
tag_name: ${{ github.ref }}
50-
release_name: Release ${{ github.ref }}
49+
tag_name: ${{ github.ref_name }}
50+
release_name: Release ${{ github.ref_name }}
5151
body: ${{ env.commitmsg }}
5252
draft: false
5353
prerelease: false

0 commit comments

Comments
 (0)