Skip to content

Commit 012c2ac

Browse files
committed
chore: ci: cache container build to GHA
This is deliberately applied only to the push-pr workflow, and not the release workflow, to prevent potential [cache poisoning](https://docs.zizmor.sh/audits/#cache-poisoning).
1 parent 9ebeca1 commit 012c2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/push-pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
push: false
6060
tags: ci.local/crocochrome:${{ github.sha }}
6161
platforms: linux/amd64,linux/arm64
62+
cache-from: type=gha
63+
cache-to: type=gha,mode=max
6264

6365
golangci:
6466
name: Lint

0 commit comments

Comments
 (0)