Fix cosign command

This commit is contained in:
Gerald Pinder
2023-07-23 15:26:34 -04:00
parent 6502d4f701
commit 8f4c152b40

View File

@@ -56,5 +56,5 @@ build:
buildah tag $FULL_IMAGE_NAME:${TAGS} $FULL_IMAGE_NAME:${TAG}
done
- buildah push --all $FULL_IMAGE_NAME
- DIGEST=$(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS | head -n 1)
- DIGEST=($(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS))
- cosign sign -y --key $SIGNING_SECRET $FULL_IMAGE_NAME@$DIGEST