File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1313 run : make docker-build
1414 - name : Test image
1515 run : make docker-test
16+
17+ build-all-archs :
18+ name : Push Docker image for all archs
19+ runs-on : ubuntu-latest
20+ strategy :
21+ fail-fast : false
22+ max-parallel : 2
23+ matrix :
24+ include :
25+ # All non supported by base image are commented
26+ # This is an example for the base image ruby (alpine variant)
27+ - { platform: "linux/arm64", platform-tag: "arm64" }
28+ - { platform: "linux/amd64", platform-tag: "amd64" }
29+ - { platform: "linux/arm/v7", platform-tag: "armv7" }
30+ - { platform: "linux/arm/v6", platform-tag: "armv6" }
31+ - { platform: "linux/ppc64le", platform-tag: "ppc64le" }
32+ # - { platform: "linux/riscv64", platform-tag: "riscv64" }
33+ - { platform: "linux/s390x", platform-tag: "s390x" }
34+ - { platform: "linux/386", platform-tag: "386" }
35+ # - { platform: "linux/mips64le", platform-tag: "mips64le" }
36+ # - { platform: "linux/mips64", platform-tag: "mips64" }
37+ steps :
38+ - name : Checkout repository
39+ uses : actions/checkout@v3
40+ # https://github.com/docker/setup-qemu-action
41+ - name : Set up QEMU
42+ uses : docker/setup-qemu-action@v2
43+ # https://github.com/docker/setup-buildx-action
44+ - name : Set up Docker Buildx
45+ uses : docker/setup-buildx-action@v2
46+ - name : Build image
47+ run : make docker-build
48+ env :
49+ DOCKER_BUILDKIT : 1
50+ PLATFORM : ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments