From 1b1619254b8a1065739c93064ba6df636e951413 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 13 Feb 2024 13:48:25 +0900 Subject: [PATCH] Revert "Create and publish a multiplatform Docker image" This reverts commit 4573a3b37f8e14cbc9dbc388c67aeee2faa7eca8. As shown on https://github.com/whatwg/wattsi/actions/runs/7881501670/job/21505226309#step:6:242, it seems we are unable to install the FreePascal packages in arm64 environments. --- .github/workflows/build.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1162f69..2bbe699 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,20 +18,14 @@ jobs: packages: write steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Setup QEMU - uses: docker/setup-qemu-action@v3 - with: - platforms: linux/amd64,linux/arm64 - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Create version file run: | git rev-list --count HEAD > src/version.inc - name: Build - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v4 with: context: . load: true @@ -43,18 +37,17 @@ jobs: echo "WATTSI_VERSION=$WATTSI_VERSION" >> $GITHUB_ENV - name: Login if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} - uses: docker/login-action@v3 + uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v4 with: context: . push: true - platforms: linux/amd64,linux/arm64 tags: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.WATTSI_VERSION }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest