Skip to content

Commit f4857a4

Browse files
authored
Merge branch 'main' into renovate/docker-build-push-action-6.x
2 parents fd86304 + ee8e1e3 commit f4857a4

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@ Build Docker image and push it.
9797
| Name | Description | Default | Required |
9898
|------|-------------|---------|----------|
9999
| allow | List of extra privileged entitlement (e.g., network.host,security.insecure) | N/A | false |
100+
| binfmt-image | Binfmt image | public.ecr.aws/eks-distro-build-tooling/binfmt-misc:qemu-v7.0.0 | false |
100101
| build-args | List of build-time variables | N/A | false |
101102
| build-contexts | List of additional build contexts (e.g., name=path) | N/A | false |
102103
| buildkitd-flags | BuildKit daemon flags | --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host | false |
103104
| cache-from | List of external cache sources for buildx (e.g., user/app:cache, type=local,src=path/to/dir) | type=gha | false |
104105
| cache-to | List of cache export destinations for buildx (e.g., user/app:cache, type=local,dest=path/to/dir) | type=gha,mode=max | false |
105106
| debug | Enable debug mode | false | false |
106107
| docker-metadata-pr-head-sha | Set to `true` to tag images with the PR HEAD SHA instead of the merge commit SHA within pull requests. | false | false |
107-
| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | N/A | false |
108+
| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 | false |
108109
| file | Dockerfile name | Dockerfile | false |
109110
| image\_name | Image name (excluding registry). Defaults to {{$organization/$repository}}. | | false |
110111
| login | Docker login | | false |

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)