Skip to content

Commit 008e185

Browse files
committed
Add Docker build caching to improve build performance
1 parent bb0292f commit 008e185

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v6.0.2
2424

25+
- name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v3
27+
2528
- name: Log in to GitHub Container Registry
2629
uses: docker/login-action@v3.7.0
2730
with:
@@ -48,3 +51,5 @@ jobs:
4851
push: ${{ github.event_name != 'pull_request' }}
4952
tags: ${{ steps.meta.outputs.tags }}
5053
labels: ${{ steps.meta.outputs.labels }}
54+
cache-from: type=gha
55+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)