File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,8 @@ jobs:
202
202
# parse artifacts to the format required for image attestation
203
203
# https://github.com/goreleaser/goreleaser/issues/4852#issuecomment-2122790132
204
204
- run : |
205
- echo "$ARTIFACTS"
206
- echo "digest=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test(":[0-9]"))|.extra.Digest')" >> "$GITHUB_OUTPUT"
207
- echo "name=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test(":[0-9]"))|.name|split("@")[0]|split(":")[0]')" >> "$GITHUB_OUTPUT"
205
+ echo "digest=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test(":[0-9]"))|.extra.Digest')" | tee /dev/stderr >> "$GITHUB_OUTPUT"
206
+ echo "name=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test(":[0-9]"))|.name|split("@")[0]')" | tee /dev/stderr >> "$GITHUB_OUTPUT"
208
207
id: image_metadata
209
208
env:
210
209
ARTIFACTS: ${{steps.goreleaser.outputs.artifacts}}
You can’t perform that action at this time.
0 commit comments