name: Build Docker image on: pull_request: push: branches: - "main" concurrency: group: test cancel-in-progress: true jobs: docker: runs-on: ubuntu-latest steps: - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 with: install: true - name: Build and push uses: docker/build-push-action@v3 with: platforms: linux/amd64,linux/arm64 push: false