Skip to content

Commit

Permalink
fix(RELTEC-12316): fix version label to be branch name without refs/h…
Browse files Browse the repository at this point in the history
…eads
  • Loading branch information
KRaffael committed Dec 12, 2024
1 parent 80e9923 commit 564a377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
type=ref,event=branch,pattern=snapshot-{{sha}}
labels: |
[email protected]:${{ github.repository }}.git
org.opencontainers.image.version=${{ github.ref }}
org.opencontainers.image.version=${{ github.head_ref || github.ref_name }}
org.opencontainers.image.revision=${{ github.sha }}
de.interhyp.image.servicename=metadata-service
- id: build-push
Expand Down

0 comments on commit 564a377

Please sign in to comment.