Skip to content

Commit 0a853c5

Browse files
Merge pull request #120 from vlesich-sylabs/sbom_fix
fix: Syft verbose mode, cosign key
2 parents c4507ce + 9ba9e5c commit 0a853c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ jobs:
119119
dpkg -i cosign_1.8.0_amd64.deb
120120
- run:
121121
name: Get Cosign Key
122-
command: echo $COSIGN_KEY > cosign.key
122+
command: echo $COSIGN_KEY | base64 -d > cosign.key
123123
- run:
124124
name: Attach attestations to image
125125
command: |
126126
for ARCH in amd64 arm64v8
127127
do
128128
IMAGE="sylabsio/scs-build:${CIRCLE_TAG}-${ARCH}"
129-
syft attest --key ./cosign.key -o cyclonedx-json "${IMAGE}" > sbom.att.json
129+
syft attest -v --key ./cosign.key -o cyclonedx-json "${IMAGE}" > sbom.att.json
130130
cosign attach attestation --attestation sbom.att.json "${IMAGE}"
131131
done
132132

0 commit comments

Comments
 (0)