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 9740a92 commit c7d7768Copy full SHA for c7d7768
.github/workflows/docker-build.yml
@@ -66,6 +66,7 @@ jobs:
66
release:
67
needs: build
68
runs-on: ubuntu-24.04
69
+ if: startsWith(github.ref, 'refs/tags/') # Only run on tag pushes
70
71
steps:
72
# Step 1: Checkout the repository
@@ -79,7 +80,7 @@ jobs:
79
80
env:
81
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82
with:
- tag_name: ${{ github.ref }} # Use the pushed version tag as the release tag (e.g., v1.0.0)
83
+ tag_name: ${{ github.ref_name }} # Use just the tag name (e.g., v1.0.0)
84
release_name: Release ${{ github.ref_name }} # Name the release after the tag (e.g., v1.0.0)
85
body: |
86
Release notes for version ${{ github.ref_name }}.
0 commit comments