mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-05-11 12:58:01 +00:00
Compare commits
4 Commits
59104f930f
...
488b08ae01
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
488b08ae01 | ||
|
|
f8607cc714 | ||
|
|
12ef543ef5 | ||
|
|
e094f5825c |
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@ -19,6 +19,8 @@ updates:
|
||||
interval: "daily"
|
||||
cooldown:
|
||||
default-days: 2
|
||||
exclude:
|
||||
- "@docker/actions-toolkit"
|
||||
versioning-strategy: "increase"
|
||||
allow:
|
||||
- dependency-type: "production"
|
||||
|
||||
3
.github/zizmor.yml
vendored
3
.github/zizmor.yml
vendored
@ -1,3 +0,0 @@
|
||||
rules:
|
||||
secrets-outside-env: # FIXME: remove this rule when zizmor 1.24.0 is released, fixing the right persona attached to this rule: https://github.com/zizmorcore/zizmor/pull/1783
|
||||
disable: true
|
||||
20
README.md
20
README.md
@ -33,6 +33,26 @@ jobs:
|
||||
-
|
||||
name: Set up QEMU
|
||||
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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user