diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index accea7a3..d51f79ee 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,9 +37,10 @@ jobs: target: ${{ matrix.package }} platforms: ${{ matrix.platform }} push: true + provenance: false tags: ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:latest - cache-from: type=gha,scope=${{ matrix.package }}-${{ matrix.platform }} - cache-to: type=gha,mode=max,scope=${{ matrix.package }}-${{ matrix.platform }} + cache-from: type=registry,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }} + cache-to: type=registry,mode=max,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }} - name: Build ${{ matrix.package }} (release) uses: docker/build-push-action@v5 @@ -50,6 +51,7 @@ jobs: target: ${{ matrix.package }} platforms: ${{ matrix.platform }} push: true + provenance: false tags: ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:${{github.event.release.name}},ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:release - cache-from: type=gha,scope=${{ matrix.package }}-${{ matrix.platform }} - cache-to: type=gha,mode=max,scope=${{ matrix.package }}-${{ matrix.platform }} + cache-from: type=registry,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }} + cache-to: type=registry,mode=max,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }}