Skip to content

Commit a5f82a3

Browse files
committed
Update CD signing to handle multiple image names
1 parent ddb6701 commit a5f82a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
shopt -s globstar
6363
6464
for FILE in ./node_modules/.cache/nx-container/**/metadata; do
65-
TARGET=$(jq -r '.["image.name"] + "@" + .["containerimage.digest"]' "$FILE")
65+
TARGET=$(jq -r '(.["image.name"] | split(",") | last) + "@" + .["containerimage.digest"]' "$FILE")
6666
echo "Signing $TARGET..."
6767
cosign sign --yes "$TARGET"
6868
done

0 commit comments

Comments
 (0)