Skip to content

Commit 7a73157

Browse files
authored
Update action.yml
1 parent f23fe3d commit 7a73157

File tree

1 file changed

+3
-3
lines changed
  • .github/actions/core-cicd/deployment/deploy-docker

1 file changed

+3
-3
lines changed

.github/actions/core-cicd/deployment/deploy-docker/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ runs:
176176
- name: Docker Setup Buildx
177177
uses: docker/[email protected]
178178
with:
179-
version: v0.20.0 # version of buildx https://github.com/docker/buildx/releases
179+
version: v0.23.0 # version of buildx https://github.com/docker/buildx/releases supports API v2 GitHub cache (>= v0.21.0)
180180
platforms: ${{ inputs.docker_platforms }}
181181
- name: Build/Push Docker Image
182182
uses: docker/[email protected]
@@ -187,6 +187,6 @@ runs:
187187
platforms: ${{ inputs.docker_platforms }}
188188
pull: true
189189
push: ${{ inputs.do_deploy }}
190-
cache-from: type=registry,ref=${{ inputs.image_name }}:buildcache
191-
cache-to: ${{ inputs.do_deploy == 'true' && format('type=registry,ref={0}:buildcache,mode=max', inputs.image_name) || '' }}
190+
cache-from: type=gha,scope=${{ github.workflow }}
191+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
192192
build-args: ${{ inputs.build_args }}

0 commit comments

Comments
 (0)