Skip to content

Commit

Permalink
fix: use github context ref_name instead of ref (#969)
Browse files Browse the repository at this point in the history
ref returns refs/tags/tag_name
ref_name returns the name itself

Co-authored-by: Laura Mosher <lauramosher@users.noreply.github.com>
  • Loading branch information
lauramosher and lauramosher committed Oct 3, 2023
1 parent 4a1ac50 commit f5a94e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
terrastories/terrastories:${{ github.ref }}
terrastories/terrastories:${{ github.ref_name }}
terrastories/terrastories:latest

0 comments on commit f5a94e7

Please sign in to comment.