File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,11 @@ jobs:
88
88
labels : ${{ steps.cdxgen-metadata.outputs.labels }}
89
89
- name : save private key to file
90
90
run : |
91
- echo "$SBOM_SIGN_PRIVATE_KEY_DATA" | base64 -d > $GITHUB_WORKSPACE/private.key
92
- ls -lh $GITHUB_WORKSPACE/private.key
91
+ echo "SBOM_SIGN_PRIVATE_KEY" > $GITHUB_WORKSPACE/private.key.b64
92
+ echo "SBOM_SIGN_PRIVATE_KEY" | base64 -d > $GITHUB_WORKSPACE/private.key
93
+ ls -lh $GITHUB_WORKSPACE/private.key $GITHUB_WORKSPACE/private.key.b64
93
94
env :
94
- SBOM_SIGN_PRIVATE_KEY_DATA : ${{ secrets.SBOM_SIGN_PRIVATE_KEY }}
95
+ SBOM_SIGN_PRIVATE_KEY : ${{ secrets.SBOM_SIGN_PRIVATE_KEY }}
95
96
- name : Attach cdx sbom to base
96
97
run : |
97
98
corepack pnpm install --config.strict-dep-builds=true --package-import-method copy --frozen-lockfile
You can’t perform that action at this time.
0 commit comments