Skip to content

Commit 1b66f63

Browse files
authored
chore: enable cache for Docker action
Add caching options for Docker build and push action
1 parent 5015046 commit 1b66f63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
4848
with:
4949
context: .
50+
cache-from: type=gha
51+
cache-to: type=gha,mode=max
5052
push: ${{ github.event_name == 'release' }}
5153
labels: ${{ steps.meta.outputs.labels }}
5254
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)