Skip to content

Commit 7fc6c5d

Browse files
committed
ci: fetch tag name on release
Signed-off-by: Ricardo Lopes <[email protected]>
1 parent a0f5ebe commit 7fc6c5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sbom.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
contents: write
1717

1818
env:
19-
OUTPUT: kube-state-metrics-${{ github.ref_name }}.spdx
20-
TAG: ${{ github.ref_name }}
19+
OUTPUT: kube-state-metrics-${{ github.event.release.tag_name }}.spdx
20+
TAG: ${{ github.event.release.tag_name }}
2121

2222
steps:
2323
- name: Fetch source code into GITHUB_WORKSPACE

0 commit comments

Comments
 (0)