diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index a6006b1..6046363 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -79,14 +79,11 @@ jobs: - name: Inject go package cache into docker uses: reproducible-containers/buildkit-cache-dance@v3 with: - cache-source: go-package-cache - cache-target: /root/go/pkg/mod - - - name: Inject go build cache into docker - uses: reproducible-containers/buildkit-cache-dance@v3 - with: - cache-source: go-build-cache - cache-target: /root/.cache/go-build + cache-map: | + { + "go-package-cache": "/root/go/pkg/mod", + "go-build-cache": "/root/.cache/go-build" + } # Login against a Docker registry except on PR # https://github.com/docker/login-action