We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 884bc4e commit 765f771Copy full SHA for 765f771
.github/workflows/image-build.yml
@@ -114,7 +114,7 @@ jobs:
114
oras attach --artifact-type sbom/cyclonedx ${{ fromJSON(steps.cdxgen-metadata.outputs.json).tags[0] }} ./sbom-oci-image.cdx.json:application/json
115
oras discover --format tree ${{ fromJSON(steps.cdxgen-metadata.outputs.json).tags[0] }}
116
continue-on-error: true
117
- if: ${{ ! fromJSON(inputs.image).cdxgen-image.skip-tags }}
+ if: ${{ startsWith(github.ref, 'refs/tags/') && ! fromJSON(inputs.image).cdxgen-image.skip-tags }}
118
env:
119
SBOM_SIGN_ALGORITHM: RS512
120
SBOM_SIGN_PRIVATE_KEY: ${{ github.workspace }}/private.key
0 commit comments