Skip to content

Commit

Permalink
Merge pull request #380 from Interhyp/RELTEC-12316-image-promote-requ…
Browse files Browse the repository at this point in the history
…irements

fix(RELTEC-12316): fix version label to be branch name without refs/h…
  • Loading branch information
KRaffael authored Dec 12, 2024
2 parents fb49237 + 564a377 commit 21c0880
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 21c0880

Please sign in to comment.