Give the composed build output its image type (#171)

buildx requires a `type=` prefix in `outputs`; without it every caller failed
with "type is required for output" before the first layer was built.
This commit is contained in:
Dylan M. Taylor authored and GitHub committed 2026-11-07 15:13:09 -05:00
1 parent 18c197bc08
commit 4acf645c17
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ jobs:
echo "error: images is empty" >&2
exit 1
fi
printf 'outputs=%s,push-by-digest=true,name-canonical=true,push=true\n' "$refs" >> "$GITHUB_OUTPUT"
printf 'outputs=type=image,%s,push-by-digest=true,name-canonical=true,push=true\n' "$refs" >> "$GITHUB_OUTPUT"
- name: Build and push by digest
id: build