Skip to content

Commit f24e8f9

Browse files
authored
Merge pull request #63 from bytecodealliance/publish-SBOMs
fix ghcr reference in actions
2 parents e10b225 + 17ed82d commit f24e8f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: Sign the SBOM for the versioned Wasm component
103103
if: github.event_name != 'workflow_dispatch'
104-
run: cosign attest --yes --type spdxjson --predicate ${{ env.COMPONENT_NAME }}.spdx.json ${{ steps.publish_versioned.outputs.digest }}
104+
run: cosign attest --yes --type spdxjson --predicate ${{ env.COMPONENT_NAME }}.spdx.json ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}@${{ steps.publish_versioned.outputs.digest }}
105105

106106
- name: Publish `:latest` release to GitHub Container Registry
107107
if: github.event_name != 'workflow_dispatch'
@@ -122,4 +122,4 @@ jobs:
122122

123123
- name: Sign the SBOM for the latest Wasm component
124124
if: github.event_name != 'workflow_dispatch'
125-
run: cosign attest --yes --type spdxjson --predicate ${{ env.COMPONENT_NAME }}.spdx.json ${{ steps.publish_latest.outputs.digest }}
125+
run: cosign attest --yes --type spdxjson --predicate ${{ env.COMPONENT_NAME }}.spdx.json ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}@${{ steps.publish_latest.outputs.digest }}

0 commit comments

Comments
 (0)