From 20690a9184654a850fb986bb8ab51ff457bf4650 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Mon, 10 Jun 2024 18:05:51 +0800 Subject: [PATCH] chore: add debug print of artifacts json blob --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2a72422..b564c60 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -69,6 +69,7 @@ jobs: subject-path: "dist/*.tar.gz" # parse artifacts to the format required for image attestation - run: | + echo "$ARTIFACTS" echo "digest=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test("go-cli-github:v"))|.extra.Digest')" >> "$GITHUB_OUTPUT" echo "name=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test("go-cli-github:v"))|.name|split(":")[0]')" >> "$GITHUB_OUTPUT" id: image_metadata_go_cli_github