We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a70de23 + 0e6bdaa commit 07ad706Copy full SHA for 07ad706
scripts/github-actions/generate.sh
@@ -53,7 +53,8 @@ for tag in $tags; do
53
"file": {{- json ($e.ArchFile $arch) -}},
54
"builder": {{- json ($e.ArchBuilder $arch) -}},
55
"constraints": {{- json $e.Constraints -}},
56
- "froms": {{- json ($.ArchDockerFroms $arch $e) -}}
+ "froms": {{- json ($.ArchDockerFroms $arch $e) -}},
57
+ "platform": {{- json (ociPlatform $arch).String -}}
58
{{- "}" -}}
59
' "$bashbrewImage" | jq -c '
60
{
@@ -84,6 +85,10 @@ for tag in $tags; do
84
85
"echo >&2 " + ("error: unknown/unsupported builder: " + .builder | @sh) + "\nexit 1\n#"
86
end
87
]
88
+ + [
89
+ # TODO error out on unsupported platforms, or just let the emulation go wild?
90
+ "--platform", .platform
91
+ ]
92
+ (
93
.tags
94
| map(
0 commit comments