Compare commits

...

19 Commits

Author SHA1 Message Date
Vedant Madane
e06fb94911 docs: add multi-platform build example to README
Signed-off-by: Vedant Madane <vedant.madane@gmail.com>
2026-04-15 18:00:00 +00:00
CrazyMax
76c0984808
Merge pull request #272 from docker/dependabot/github_actions/crazy-max-dot-github-f0991e81fd
build(deps): bump the crazy-max-dot-github group with 2 updates
2026-04-09 10:23:39 +02:00
dependabot[bot]
de93a28d33
build(deps): bump the crazy-max-dot-github group with 2 updates
Bumps the crazy-max-dot-github group with 2 updates: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](bb328ea508...d89fe92d80)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](bb328ea508...d89fe92d80)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 06:11:50 +00:00
CrazyMax
f4e8deed0c
Merge pull request #269 from crazy-max/fix-update-dist
ci: stop update-dist reruns after generated dist pushes
2026-04-01 15:09:07 +02:00
CrazyMax
5a1a5cc4f8
ci: stop update-dist reruns after generated dist pushes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-01 13:16:02 +02:00
CrazyMax
6412e4f975
Merge pull request #268 from docker/dependabot/github_actions/codecov/codecov-action-6.0.0
build(deps): bump codecov/codecov-action from 5.5.4 to 6.0.0
2026-03-31 09:27:41 +02:00
dependabot[bot]
3329a8ce3d
build(deps): bump codecov/codecov-action from 5.5.4 to 6.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.4 to 6.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](75cd11691c...57e3a136b7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-31 01:51:28 +00:00
Tõnis Tiigi
cf45d1535a
Merge pull request #267 from crazy-max/zizmor
ci: zizmor workflow
2026-03-30 18:50:33 -07:00
CrazyMax
7b4ca36676
fix zizmor findings
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-30 14:25:09 +02:00
CrazyMax
9d536b88bb
ci: zizmor workflow
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-30 14:24:46 +02:00
Tõnis Tiigi
6804d31319
Merge pull request #260 from crazy-max/update-crazy-max-actions
ci: bump crazy-max/.github to 1.1.0
2026-03-25 10:44:07 -07:00
CrazyMax
f03c104308
ci: bump crazy-max/.github to 1.1.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-25 12:47:34 +01:00
CrazyMax
6632d370ea
Merge pull request #256 from crazy-max/codeql
ci: enable SAST scanning with CodeQL
2026-03-20 16:57:34 +01:00
CrazyMax
ff0bafa2b5
ci: enable SAST scanning with CodeQL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-20 12:00:52 +01:00
CrazyMax
b99055d793
Merge pull request #252 from docker/dependabot/github_actions/actions/create-github-app-token-3
Some checks failed
ci / default (push) Failing after 1s
ci / main (tonistiigi/binfmt:latest, all) (push) Failing after 1s
ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Failing after 1s
ci / main (tonistiigi/binfmt:master, all) (push) Failing after 1s
ci / main (tonistiigi/binfmt:master, arm64,riscv64,arm) (push) Failing after 1s
ci / error (push) Failing after 1s
ci / cache-image (false) (push) Failing after 1s
ci / cache-image (true) (push) Failing after 1s
ci / version (tonistiigi/binfmt:latest) (push) Failing after 1s
ci / version (tonistiigi/binfmt:master) (push) Failing after 1s
ci / version (tonistiigi/binfmt:qemu-v7.0.0) (push) Failing after 1s
test / test (push) Failing after 1s
validate / prepare (push) Failing after 1s
validate / validate (push) Has been skipped
build(deps): bump actions/create-github-app-token from 2 to 3
2026-03-16 12:47:25 +01:00
dependabot[bot]
f80e0ace51
build(deps): bump actions/create-github-app-token from 2 to 3
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 06:17:10 +00:00
Tõnis Tiigi
a4bc6cde7e
Merge pull request #248 from docker/dependabot/github_actions/docker/bake-action-7
Some checks failed
ci / version (tonistiigi/binfmt:latest) (push) Failing after 1s
test / test (push) Failing after 1s
validate / prepare (push) Failing after 1s
ci / default (push) Failing after 1s
ci / main (tonistiigi/binfmt:latest, all) (push) Failing after 1s
ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Failing after 1s
ci / main (tonistiigi/binfmt:master, all) (push) Failing after 1s
ci / main (tonistiigi/binfmt:master, arm64,riscv64,arm) (push) Failing after 1s
ci / error (push) Failing after 1s
ci / cache-image (false) (push) Failing after 1s
ci / cache-image (true) (push) Failing after 1s
ci / version (tonistiigi/binfmt:master) (push) Failing after 1s
ci / version (tonistiigi/binfmt:qemu-v7.0.0) (push) Failing after 1s
validate / validate (push) Has been skipped
build(deps): bump docker/bake-action from 6 to 7
2026-03-09 12:36:36 -07:00
CrazyMax
83ebb81e64
ci: switch to matrix subaction
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-06 10:13:48 +01:00
dependabot[bot]
9586bd4603
build(deps): bump docker/bake-action from 6 to 7
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6 to 7.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 06:16:16 +00:00

View File

@ -13,6 +13,7 @@ GitHub Action to install [QEMU](https://github.com/qemu/qemu) static binaries.
___
* [Usage](#usage)
* [Multi-platform build example](#multi-platform-build-example)
* [Customizing](#customizing)
* [inputs](#inputs)
* [outputs](#outputs)
@ -48,6 +49,43 @@ jobs:
> uses: docker/setup-buildx-action@v4
> ```
### Multi-platform build example
The following example shows how to use this action to build and push a multi-platform image for `linux/amd64` and `linux/arm64` using [Buildx](https://github.com/docker/buildx):
```yaml
name: ci
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: user/app:latest
platforms: linux/amd64,linux/arm64
```
## Customizing
### inputs