mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-05-12 21:38:06 +00:00
Compare commits
4 Commits
c8f7e65443
...
51b375f740
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51b375f740 | ||
|
|
6804d31319 | ||
|
|
f03c104308 | ||
|
|
e094f5825c |
2
.github/workflows/pr-assign-author.yml
vendored
2
.github/workflows/pr-assign-author.yml
vendored
@ -11,7 +11,7 @@ on:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
|
||||
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@20ef82212dc54bab5749f5e05576ca6d3c8a5773 # v1.1.0
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
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