From 9dcc4cad7e397fb0502d967c8fdb411bc678fffd Mon Sep 17 00:00:00 2001 From: Gokhan Sari Date: Tue, 24 Jan 2023 17:55:31 +0300 Subject: [PATCH] Update build-and-publish.yaml --- .github/workflows/build-and-publish.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index c69c3156..5027171e 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -35,6 +35,7 @@ jobs: uses: docker/build-push-action@v3 with: context: ./backend + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -46,6 +47,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Log in to the container registry uses: docker/login-action@v2 with: @@ -70,6 +77,7 @@ jobs: uses: docker/build-push-action@v3 with: context: ./frontend + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}