@@ -125,7 +125,11 @@ inputs:
125125 default : " auto"
126126 cache-map :
127127 description : |
128- JSON string mapping cache mount paths/names for buildkit-cache-dance (e.g. '{"go-mod-cache": "/go/pkg/mod"}').
128+ JSON string mapping cache mount paths/names for buildkit-cache-dance.
129+ Use the object form with an explicit id matching the Dockerfile's cache mount id
130+ (e.g. '{"cache-mount/go-build-cache": {"id": "go-build-cache", "target": "/var/cache-target"}}').
131+ The simple string form omits id; BuildKit then keys the cache on the target path,
132+ which will not match mounts that define an explicit id.
129133 If omitted, buildkit-cache-dance automatically discovers mounts from the Dockerfile.
130134 See: https://github.com/reproducible-containers/buildkit-cache-dance
131135 See: https://docs.docker.com/build/ci/github-actions/cache/#cache-mounts
@@ -223,7 +227,7 @@ runs:
223227 if :
224228 ${{ steps.dockerfile-ecr-parse.outputs.needs-ecr-login == 'true' ||
225229 inputs.docker-push == 'true' }}
226- uses : aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3
230+ uses : aws-actions/configure-aws-credentials@cbe3b392738ccf3f987d68400dafcf4b0624a56c # v6.2.4
227231 with :
228232 role-to-assume : ${{ inputs.aws-role-arn }}
229233 role-duration-seconds : 900
@@ -232,14 +236,14 @@ runs:
232236
233237 - name : Login to private ECR registries for base images
234238 if : ${{ steps.dockerfile-ecr-parse.outputs.needs-ecr-login == 'true' }}
235- uses : aws-actions/amazon-ecr-login@d539f0932e70871a027e9d5a9d8fc38589180a64 # v2.1.6
239+ uses : aws-actions/amazon-ecr-login@03f1aad4c6c7ffd436567f42f9384779290529bd # v2.1.7
236240 with :
237241 registries : ${{ steps.dockerfile-ecr-parse.outputs.ecr-registries }}
238242
239243 - name : Login to ECR for publishing
240244 if : ${{ inputs.docker-push == 'true' }}
241245 id : login-ecr
242- uses : aws-actions/amazon-ecr-login@d539f0932e70871a027e9d5a9d8fc38589180a64 # v2.1.6
246+ uses : aws-actions/amazon-ecr-login@03f1aad4c6c7ffd436567f42f9384779290529bd # v2.1.7
243247 with :
244248 registry-type : >-
245249 ${{
@@ -251,7 +255,7 @@ runs:
251255
252256 - name : Set up Docker Buildx
253257 id : setup-buildx
254- uses : docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2 .0
258+ uses : docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3 .0
255259 with :
256260 # https://github.com/docker/buildx/tags
257261 version : v0.35.0
0 commit comments