diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42435a8..6798bcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,11 +48,20 @@ jobs: restore-keys: | ${{ runner.os }}-buildx-${{ matrix.php }}-${{ matrix.distro }}-${{ matrix.tag }}- + - name: QEMU Static Reset + run: | + docker run --rm --privileged tonistiigi/binfmt:latest --uninstall qemu-* + docker run --rm --privileged tonistiigi/binfmt:latest --install all + - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: - platforms: 'amd64,arm64' - image: 'tonistiigi/binfmt:qemu-v7.0.0-28' + platforms: arm64,amd64 + + - name: Verify ARM64 support + run: | + update-binfmts --display | grep qemu-arm + ls -l /proc/sys/fs/binfmt_misc/qemu-arm - name: Set up Buildx uses: docker/setup-buildx-action@v3