Skip to content

Commit

Permalink
feat: build images for arm (#213)
Browse files Browse the repository at this point in the history
* feat: build images for arm

add `platforms: linux/amd64,linux/arm64` to the docker build config to build for both x64 and arm.

see: https://github.com/elastic-ipfs/infrastructure


License: MIT
Signed-off-by: Oli Evans <oli@protocol.ai>
  • Loading branch information
olizilla authored Jun 1, 2023
1 parent 50693e5 commit fb7ef1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/shared-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
if: inputs.docker_image_version_suffix_label != ''
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
push: ${{ inputs.docker_push }}
context: .
tags: |
Expand All @@ -78,6 +79,7 @@ jobs:
if: inputs.docker_image_version_suffix_label == ''
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
push: ${{ inputs.docker_push }}
context: .
tags: |
Expand Down

0 comments on commit fb7ef1c

Please sign in to comment.