Skip to content

Commit

Permalink
fix(gh-actions): get git tag from ref_name when releasing (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-github authored Jun 15, 2024
1 parent 63d9bcb commit cc2e020
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Git tag
run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit cc2e020

Please sign in to comment.