⚙️ chore: Update Docker publish workflow to use GitHub Action cache.
This commit is contained in:
parent
a48a62c3d6
commit
02a4af9dad
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
|
|
@ -63,8 +63,8 @@ jobs:
|
|||
platforms: ${{ matrix.platform }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
|
||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.platform_tag }}
|
||||
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.platform_tag }},mode=max
|
||||
cache-from: type=gha,scope=build-${{ matrix.platform_tag }}
|
||||
cache-to: type=gha,scope=build-${{ matrix.platform_tag }},mode=max
|
||||
|
||||
- name: Export digest
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue