Skip to content

Commit 41c2799

Browse files
committed
perf: make acr release cache from latest
1 parent a1c4202 commit 41c2799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/az_acr_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
- name: Build & Push ${{ github.event.repository.name }}:${{ env.IMAGE_TAG }}
8080
uses: docker/build-push-action@v5
8181
with:
82-
cache-from: type=registry,ref=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ env.IMAGE_TAG }}
83-
cache-to: type=registry,ref=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ env.IMAGE_TAG }},mode=max,image-manifest=true
82+
cache-from: type=registry,ref=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:latest
83+
cache-to: type=registry,ref=${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:latest,mode=max,image-manifest=true
8484
platforms: linux/amd64
8585
file: ${{ env.DOCKERFILE }}
8686
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ env.IMAGE_TAG }}

0 commit comments

Comments
 (0)