Skip to content

Commit e10b225

Browse files
authored
Merge pull request #62 from bytecodealliance/publish-SBOMs
Fix publish
2 parents eee1096 + 19f3bde commit e10b225

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 --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 ${{ 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 --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 ${{ steps.publish_latest.outputs.digest }}

0 commit comments

Comments
 (0)