diff --git a/.github/workflows/build-dev-container.yaml b/.github/workflows/build-dev-container.yaml index 42a4a5c..d3516e9 100644 --- a/.github/workflows/build-dev-container.yaml +++ b/.github/workflows/build-dev-container.yaml @@ -50,6 +50,11 @@ jobs: path: go-build-cache key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }} + - name: inject go-build-cache into docker + uses: reproducible-containers/buildkit-cache-dance@4b2444fec0c0fb9dbf175a96c094720a692ef810 # v3.1.2 + with: + cache-source: go-build-cache + - name: Build and push Docker image uses: docker/build-push-action@v6 with: diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 6eacdd8..0dd796f 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -49,6 +49,11 @@ jobs: path: go-build-cache key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }} + - name: inject go-build-cache into docker + uses: reproducible-containers/buildkit-cache-dance@4b2444fec0c0fb9dbf175a96c094720a692ef810 # v3.1.2 + with: + cache-source: go-build-cache + - name: Build and push Docker image uses: docker/build-push-action@v6 with: