Skip to content

Commit

Permalink
ci: build Docker image for arm64 too
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Apr 26, 2023
1 parent ca6077b commit 07b24a4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: "arm64"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -49,6 +54,14 @@ jobs:
cache-from: type=registry,ref=ghcr.io/filecoin-station/core
cache-to: type=inline

- name: Build Docker image for other platforms
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/arm64
cache-from: type=registry,ref=ghcr.io/filecoin-station/core
cache-to: type=inline

- name: Start Station Core container
run: |
docker run \
Expand Down

0 comments on commit 07b24a4

Please sign in to comment.