Compare commits

...

4 Commits

Author SHA1 Message Date
Solomon Jacobs
a363491ffe
Merge e094f5825c into b99055d793 2026-03-16 12:38:58 +00: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
Solomon Jacobs
e094f5825c Provide usage examples in README.md
We provide two simple examples of invoking `qemu-{arch}-static` (or more
precisely, we let the kernel do the invocation.)

Closes: #95

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
2026-03-08 15:35:44 +01:00
2 changed files with 21 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
- -
name: GitHub auth token from GitHub App name: GitHub auth token from GitHub App
id: docker-read-app id: docker-read-app
uses: actions/create-github-app-token@v2 uses: actions/create-github-app-token@v3
with: with:
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }} app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }} private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}

View File

@ -33,6 +33,26 @@ jobs:
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v4 uses: docker/setup-qemu-action@v4
with:
platforms: arm64, i386
-
name: Create an example binary for AArch64
run: |
go mod init hello
cat << EOL > hello.go
package main
func main() {
println("Hello, AArch64!")
}
EOL
GOARCH=arm64 go build hello.go
-
name: This would fail without docker/setup-qemu-action
run: ./hello
-
name: You can also run images from other platforms
run: docker run --platform linux/i386 hello-world
``` ```
> [!NOTE] > [!NOTE]