diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index c9c14e8..cb6aec5 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -15,13 +15,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Registry ${{ env.REGISTRY }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.DOCKER_USERNAME }} @@ -34,11 +37,12 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and export to Docker - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . load: true tags: ${{ steps.meta.outputs.tags }} + platforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max -