From e89e30a14e2d213d5df777ea0e1392e71cdf15ca Mon Sep 17 00:00:00 2001 From: Kevin K Biju <52661649+heavycrystal@users.noreply.github.com> Date: Wed, 13 Sep 2023 18:27:32 +0530 Subject: [PATCH] building ARM64 images for dev and stable Docker images (#382) --- .github/workflows/dev-docker.yml | 4 ++++ .github/workflows/stable-docker.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/dev-docker.yml b/.github/workflows/dev-docker.yml index 52e895a89c..8c12863ff8 100644 --- a/.github/workflows/dev-docker.yml +++ b/.github/workflows/dev-docker.yml @@ -36,6 +36,7 @@ jobs: uses: depot/build-push-action@v1 with: token: ${{ secrets.DEPOT_TOKEN }} + platforms: linux/amd64,linux/arm64 context: . file: stacks/nexus.Dockerfile push: ${{ github.ref == 'refs/heads/main' }} @@ -46,6 +47,7 @@ jobs: uses: depot/build-push-action@v1 with: token: ${{ secrets.DEPOT_TOKEN }} + platforms: linux/amd64,linux/arm64 context: . file: stacks/flow-api.Dockerfile push: ${{ github.ref == 'refs/heads/main' }} @@ -56,6 +58,7 @@ jobs: uses: depot/build-push-action@v1 with: token: ${{ secrets.DEPOT_TOKEN }} + platforms: linux/amd64,linux/arm64 context: . file: stacks/flow-worker.Dockerfile push: ${{ github.ref == 'refs/heads/main' }} @@ -66,6 +69,7 @@ jobs: uses: depot/build-push-action@v1 with: token: ${{ secrets.DEPOT_TOKEN }} + platforms: linux/amd64,linux/arm64 context: . file: stacks/flow-snapshot-worker.Dockerfile push: ${{ github.ref == 'refs/heads/main' }} diff --git a/.github/workflows/stable-docker.yml b/.github/workflows/stable-docker.yml index 78e693f442..5f5edd4ef8 100644 --- a/.github/workflows/stable-docker.yml +++ b/.github/workflows/stable-docker.yml @@ -30,6 +30,7 @@ jobs: - name: Publish PeerDB Stable Image uses: depot/build-push-action@v1 with: + platforms: linux/amd64,linux/arm64 token: ${{ secrets.DEPOT_TOKEN }} context: . file: stacks/nexus.Dockerfile @@ -40,6 +41,7 @@ jobs: - name: Publish Flow API Image uses: depot/build-push-action@v1 with: + platforms: linux/amd64,linux/arm64 token: ${{ secrets.DEPOT_TOKEN }} context: . file: stacks/flow-api.Dockerfile @@ -50,6 +52,7 @@ jobs: - name: Publish Flow Worker Stable Image uses: depot/build-push-action@v1 with: + platforms: linux/amd64,linux/arm64 token: ${{ secrets.DEPOT_TOKEN }} context: . file: stacks/flow-worker.Dockerfile @@ -60,6 +63,7 @@ jobs: - name: Publish Flow Snapshot Worker Stable Image uses: depot/build-push-action@v1 with: + platforms: linux/amd64,linux/arm64 token: ${{ secrets.DEPOT_TOKEN }} context: . file: stacks/flow-snapshot-worker.Dockerfile