Skip to content

Commit

Permalink
feat: multi arch build
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Aug 16, 2022
1 parent e4f39f0 commit d4a8199
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target-platform: [ x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, armv7-unknown-linux-musleabi ]
target-platform: [ x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, arm/v7-unknown-linux-musleabi ]
include:
- target-platform: x86_64-unknown-linux-musl
container-image-arch: amd64
- target-platform: aarch64-unknown-linux-musl
container-image-arch: arm64
- target-platform: armv7-unknown-linux-musleabi
container-image-arch: armv7
container-image-arch: arm64/v8
- target-platform: arm/v7-unknown-linux-musleabi
container-image-arch: arm/v7
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
container-image-arch: [ amd64, arm64, armv7 ]
container-image-arch: [ amd64, arm64/v8, arm/v7 ]
steps:
- name: Download Container Image
uses: actions/download-artifact@v3
Expand All @@ -210,7 +210,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
container-image-arch: [ amd64, arm64, armv7 ]
container-image-arch: [ amd64, arm64/v8, arm/v7 ]
steps:
- name: Download Container Image
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
if: github.ref_name == 'main' # only push the image if the branch is main
strategy:
matrix:
container-image-arch: [ amd64, arm64, armv7 ]
container-image-arch: [ amd64, arm64/v8, arm/v7 ]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit d4a8199

Please sign in to comment.