Skip to content

Commit 29aad65

Browse files
authored
Merge pull request #121 from vlesich-sylabs/tag_fix
fix: SBOM tag fix
2 parents 0a853c5 + b5bffbf commit 29aad65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,10 @@ jobs:
123123
- run:
124124
name: Attach attestations to image
125125
command: |
126+
TAG="`echo $CIRCLE_TAG | sed -e 's/^v//'`"
126127
for ARCH in amd64 arm64v8
127128
do
128-
IMAGE="sylabsio/scs-build:${CIRCLE_TAG}-${ARCH}"
129+
IMAGE="sylabsio/scs-build:${TAG}-${ARCH}"
129130
syft attest -v --key ./cosign.key -o cyclonedx-json "${IMAGE}" > sbom.att.json
130131
cosign attach attestation --attestation sbom.att.json "${IMAGE}"
131132
done

0 commit comments

Comments
 (0)