diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index a5bc7cd..8331366 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -12,19 +12,11 @@ env: jobs: build-and-push: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - platform: [linux/amd64, linux/arm64, linux/arm/v7] - target: [x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, armv7-unknown-linux-musleabihf] steps: - name: Checkout code uses: actions/checkout@v3 - - name: Set up QEMU (for cross-platform builds) - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -38,11 +30,10 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: ${{ matrix.platform }} + platforms: linux/amd64 push: true tags: | ${{ env.REGISTRY_IMAGE }}:latest ${{ env.REGISTRY_IMAGE }}:${{ github.sha }} - ${{ env.REGISTRY_IMAGE }}:${{ matrix.target }} build-args: | - TARGET=${{ matrix.target }} + TARGET=x86_64-unknown-linux-musl