Skip to content

Commit eee1096

Browse files
authored
Merge pull request #61 from bytecodealliance/publish-SBOMs
fix substitution
2 parents 80e742e + 898f781 commit eee1096

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Extract the SBOM from the component
8282
if: github.event_name != 'workflow_dispatch'
83-
run: auditable2cdx target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }} >> ${ env.COMPONENT_NAME }.spdx.json
83+
run: auditable2cdx target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }} >> ${{ env.COMPONENT_NAME }}.spdx.json
8484

8585
- name: Publish `:<version>` to GitHub Container Registry
8686
if: github.event_name != 'workflow_dispatch'
@@ -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 --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 --type spdxjson --predicate ${{ env.COMPONENT_NAME }}.spdx.json ${{ steps.publish_latest.outputs.digest }}

0 commit comments

Comments
 (0)