Skip to content

Commit 040ee51

Browse files
authored
ref: default to public ECR for binfmt and buildx (#72)
* ref(qemu-setup): set to public ecr * ref(diver-opts): hard set to public ecr * chore(driver-opts,binfmt): update inputs for ecr defaults
1 parent dd13616 commit 040ee51

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ inputs:
2121
driver-opts:
2222
description: 'List of additional driver-specific options. (eg. image=moby/buildkit:master)'
2323
required: false
24+
default: image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1
25+
binfmt-image:
26+
description: 'Binfmt image'
27+
required: false
28+
default: public.ecr.aws/eks-distro-build-tooling/binfmt-misc:qemu-v7.0.0
2429
workdir:
2530
description: 'Working directory'
2631
required: false
@@ -179,13 +184,15 @@ runs:
179184
180185
- name: Set up QEMU
181186
uses: docker/setup-qemu-action@v3
187+
with:
188+
image: ${{ inputs.binfmt-image }}
182189

183190
- name: Set up Docker Buildx
184191
uses: docker/setup-buildx-action@v3
185192
with:
186193
endpoint: buildx-context
187194
buildkitd-flags: "${{ inputs.debug == 'true' && '--debug' || '' }} ${{ inputs.buildkitd-flags }}"
188-
driver-opts: ${{ inputs.driver-opts }}
195+
driver-opts: "${{ inputs.driver-opts }}"
189196

190197
- name: Login
191198
uses: docker/login-action@v3

0 commit comments

Comments
 (0)