Skip to content

Commit 19f3bde

Browse files
committed
Update publish.yml
1 parent a23e1bb commit 19f3bde

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)