Add cache-from and cache-to to docker-publish.yaml.

This commit is contained in:
erinhmclark
2025-03-07 15:09:10 +00:00
parent 48b29d43f7
commit 7bbf0da0d1

View File

@@ -52,3 +52,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache,mode=max