Skip to content

Commit 08ef352

Browse files
committed
Fix the CI not outputting the image metadata on PRs
1 parent a41db67 commit 08ef352

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ jobs:
304304
# This transforms the ouput to an object which looks like this:
305305
# { reguar: { digest: "…", tags: ["…", "…"] }, debug: { digest: "…", tags: ["…"] }, … }
306306
id: output
307-
if: github.event_name != 'pull_request'
308307
run: |
309308
echo 'metadata<<EOF' >> $GITHUB_OUTPUT
310309
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

0 commit comments

Comments
 (0)