Skip to content

Commit 461ed1a

Browse files
committed
use buildx
1 parent 1bed01b commit 461ed1a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/framework-build-cache.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
with:
5151
repository: smartcontractkit/chainlink
5252
path: chainlink-repo
53+
- name: Set up Docker Buildx
54+
uses: docker/setup-buildx-action@v2
5355
- name: Set up Environment Variables
5456
run: |
5557
echo "GITHUB_SERVER_URL=${{ github.server_url }}" >> $GITHUB_ENV

framework/docker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ func BuildImageOnce(once *sync.Once, dctx, dfile, nameAndTag string) error {
283283
"docker",
284284
"buildx",
285285
"build",
286+
"--load",
286287
"--cache-from",
287288
fmt.Sprintf("type=gha,url=%s,token=%s,scope=ctfdocker", cacheURL, githubToken),
288289
"--cache-to",

0 commit comments

Comments
 (0)