diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 5d184b8..6e1cc06 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -29,11 +29,13 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: - context: ./ - platforms: linux/amd64,linux/arm64 - file: ./Dockerfile push: true + context: . + file: ./Dockerfile + cache-from: type=gha + cache-to: type=gha,mode=max + platforms: linux/amd64,linux/arm64 tags: ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:${{ steps.previoustag.outputs.tag }}