Merge pull request #1753 from actions/docker-cache

Enable caching by default for docker builds.
This commit is contained in:
Sampark Sharma
2022-09-21 12:13:12 +05:30
committed by GitHub
+3
View File
@@ -78,6 +78,9 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker