Compare commits

...

6 Commits

Author SHA1 Message Date
Solomon Jacobs
0414d4d959
Merge d11e3282b2 into 737ba1e397 2025-04-24 13:33:39 +01:00
CrazyMax
737ba1e397
Merge pull request #212 from crazy-max/pr-assign-author
Some checks failed
test / test (push) Failing after 4s
validate / prepare (push) Failing after 3s
validate / validate (push) Has been skipped
ci / default (push) Failing after 2s
ci / main (tonistiigi/binfmt:latest, all) (push) Failing after 2s
ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Failing after 2s
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
pr-assign-author workflow
2025-04-23 16:09:46 +02:00
CrazyMax
7a388d81f1
pr-assign-author workflow
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-23 14:22:01 +02:00
CrazyMax
5a7ea16bc4
Merge pull request #211 from crazy-max/fix-codecov
Some checks failed
test / test (push) Failing after 4s
validate / prepare (push) Failing after 3s
validate / validate (push) Has been skipped
ci / default (push) Failing after 12s
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
ci: fix missing source for codecov
2025-04-22 14:43:00 +02:00
CrazyMax
a2fd8cfed3
ci: fix missing source for codecov
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-22 14:38:36 +02:00
Solomon Jacobs
d11e3282b2 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>
2024-12-15 10:54:34 +01:00
3 changed files with 41 additions and 0 deletions

17
.github/workflows/pr-assign-author.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: pr-assign-author
permissions:
contents: read
on:
pull_request_target:
types:
- opened
- reopened
jobs:
run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
permissions:
contents: read
pull-requests: write

View File

@ -15,10 +15,14 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
-
name: Checkout
uses: actions/checkout@v4
- -
name: Test name: Test
uses: docker/bake-action@v6 uses: docker/bake-action@v6
with: with:
source: .
targets: test targets: test
- -
name: Upload coverage name: Upload coverage

View File

@ -33,6 +33,26 @@ jobs:
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
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]