Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 30fdb99

Browse files
committed
Don't crash the release process if warnings are emitted
1 parent b774e50 commit 30fdb99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
if: github.event_name != 'pull_request'
241241
run: |
242242
echo 'metadata<<EOF' >> $GITHUB_OUTPUT
243-
echo '${{ steps.bake.outputs.metadata }}' | jq -c 'map_values({ digest: .["containerimage.digest"], tags: (.["image.name"] | split(",")) })' >> $GITHUB_OUTPUT
243+
echo '${{ steps.bake.outputs.metadata }}' | jq -c 'with_entries(select(.value | (type == "object" and has("containerimage.digest")))) | map_values({ digest: .["containerimage.digest"], tags: (.["image.name"] | split(",")) })' >> $GITHUB_OUTPUT
244244
echo 'EOF' >> $GITHUB_OUTPUT
245245
246246
- name: Sign the images with GitHub Actions provided token

0 commit comments

Comments
 (0)