Skip to content

Commit 74ea7d5

Browse files
authored
Implement github actions cache, for docker build (#2727)
1 parent 2589849 commit 74ea7d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/partial-builder.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ jobs:
4646
tags: ghcr.io/${{ github.repository }}:${{ inputs.tag }}
4747
build-args: |
4848
COMMIT=${{ github.sha }}
49+
# https://docs.docker.com/build/ci/github-actions/cache/#github-cache
50+
cache-from: type=gha
51+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)