mirror of
https://github.com/storytold/craft-common-actions.git
synced 2026-11-18 08:25:36 +00:00
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:
1 parent
18c197bc08
commit
4acf645c17
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user