chore(build): Optimize Docker build configuration and process
This commit is contained in:
@@ -67,7 +67,10 @@ jobs:
|
|||||||
uses: reproducible-containers/buildkit-cache-dance@v3
|
uses: reproducible-containers/buildkit-cache-dance@v3
|
||||||
with:
|
with:
|
||||||
cache-source: go-build-cache
|
cache-source: go-build-cache
|
||||||
dockerfile: ${{ matrix.file }}
|
cache-map: |
|
||||||
|
{
|
||||||
|
"go-pkg-mod": "/go/pkg/mod"
|
||||||
|
}
|
||||||
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
|
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
|
||||||
|
|
||||||
- name: Build ${{ matrix.service_name }} Image
|
- name: Build ${{ matrix.service_name }} Image
|
||||||
|
|||||||
Reference in New Issue
Block a user