Skip to content

Commit

Permalink
Add Docker build cache to publish workflow
Browse files Browse the repository at this point in the history
Enhanced the Docker build step by adding caching mechanisms. This will optimize build times and make the CI/CD process more efficient by leveraging local build caches.
  • Loading branch information
steebchen committed Sep 11, 2024
1 parent 98547ab commit 36f4117
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
with:
context: .
file: ./Dockerfile
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 36f4117

Please sign in to comment.