Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit 2748254

Browse files
committed
fix: release workflow
1 parent 2b4de5f commit 2748254

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131

3232
release:
3333
runs-on: ubuntu-latest
34-
env:
35-
VERSION: ${{ github.ref_name }}
3634
needs: check
3735
if: needs.check.result == 'success' && startsWith(github.ref, 'refs/tags/')
3836
steps:
@@ -42,6 +40,8 @@ jobs:
4240
fetch-depth: 0
4341
- name: Set up Docker Buildx
4442
uses: docker/setup-buildx-action@v2
43+
- name: Extract VERSION from tag
44+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
4545
- name: Build packages
4646
uses: docker/bake-action@v2
4747
- name: Create GitHub release

0 commit comments

Comments
 (0)