Skip to content

Commit 3472964

Browse files
committed
Sign the generated BOMs
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 5f74ab2 commit 3472964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/image-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ jobs:
8888
labels: ${{ steps.cdxgen-metadata.outputs.labels }}
8989
- name: save private key to file
9090
run: |
91-
echo "SBOM_SIGN_PRIVATE_KEY" > $GITHUB_WORKSPACE/private.key.b64
92-
echo "SBOM_SIGN_PRIVATE_KEY" | base64 -d > $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
9393
ls -lh $GITHUB_WORKSPACE/private.key $GITHUB_WORKSPACE/private.key.b64
9494
env:
9595
SBOM_SIGN_PRIVATE_KEY: ${{ secrets.SBOM_SIGN_PRIVATE_KEY }}

0 commit comments

Comments
 (0)