Skip to content

Commit 2285100

Browse files
committed
fix: cache docker in ECR instead of GHA
1 parent a91fe39 commit 2285100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/docker-build-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ runs:
5050
load: true
5151
tags: ${{ inputs.repository-url }}/${{ inputs.repository-name }}:${{ steps.sha_short.outputs.sha_short }}
5252
builder: fgrbuilder
53-
cache-from: type=gha,ref=${{ inputs.repository-url }}/${{ inputs.repository-name }}:cache
54-
cache-to: type=gha,mode=max,image-manifest=true,oci-mediatypes=true,ref=${{ inputs.repository-url }}/${{ inputs.repository-name }}:cache,compression=zstd
53+
cache-from: type=registry,ref=${{ inputs.repository-url }}/${{ inputs.repository-name }}:cache
54+
cache-to: type=registry,ref=${{ inputs.repository-url }}/${{ inputs.repository-name }}:cache,mode=max,compression=zstd,oci-mediatypes=true
5555
outputs: type=docker,dest=/tmp/${{ steps.docker_file.outputs.file_name }}
5656

5757
- uses: actions/[email protected]

0 commit comments

Comments
 (0)