try multiplatform build without qemu

This commit is contained in:
Jason Kulatunga 2023-01-26 07:50:15 -08:00
parent e3501c981b
commit edc5ec71ad
1 changed files with 5 additions and 5 deletions

View File

@ -32,10 +32,10 @@ jobs:
run: | run: |
make frontend-build-${{ github.ref_name == 'sandbox' && 'sandbox' || 'prod' }} make frontend-build-${{ github.ref_name == 'sandbox' && 'sandbox' || 'prod' }}
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v2 # uses: docker/setup-qemu-action@v2
with: # with:
platforms: 'amd64,arm64,arm' # platforms: 'amd64,arm64,arm'
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
# Login against a Docker registry except on PR # Login against a Docker registry except on PR
@ -64,7 +64,7 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64
context: . context: .
file: Dockerfile file: Dockerfile
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}