Skip to content

Commit 2343026

Browse files
committed
Enable caching for docker build
1 parent e7987d6 commit 2343026

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/delivery.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
21+
- name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v3
2123
- name: Log in to the Container registry
2224
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
2325
with:
@@ -41,6 +43,8 @@ jobs:
4143
push: true
4244
tags: ${{ steps.meta.outputs.tags }}
4345
labels: ${{ steps.meta.outputs.labels }}
46+
cache-from: type=gha
47+
cache-to: type=gha,mode=max
4448
- name: Generate artifact attestation
4549
uses: actions/attest-build-provenance@v1
4650
with:

0 commit comments

Comments
 (0)