diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35294a2..7c21a3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,30 +121,23 @@ jobs: runs-on: ubuntu-latest needs: [ go-binaries ] steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Download go-binary artifact uses: actions/download-artifact@v4 with: name: binaries path: build-artifacts - - name: Cache Docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: push: true tags: aoepeople/vistecture:${{ github.ref }} - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache platforms: linux/amd64,linux/arm64