about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorKohei Ota (inductor) <kela@inductor.me>2022-11-17 19:01:16 +0900
committerGitHub <noreply@github.com>2022-11-17 11:01:16 +0100
commit92734e3df167fd3001809a236781a277ec18fe9b (patch)
tree41629cfde562f54e9b280a5d12bc966babbcb4d6 /.github/workflows
parentdaf6f3453e2a37db3d9a8362d64106b6c7cf0763 (diff)
Use buildx functions for faster build (#20692)
* Use buildx functions for faster build

* move link

* cannot use --link with --chown
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-image.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index 39fe1bd0b..6c12bd073 100644
--- a/.github/workflows/build-image.yml
+++ b/.github/workflows/build-image.yml
@@ -40,7 +40,8 @@ jobs:
         with:
           context: .
           platforms: linux/amd64,linux/arm64
+          builder: ${{ steps.buildx.outputs.name }}
           push: ${{ github.event_name != 'pull_request' }}
           tags: ${{ steps.meta.outputs.tags }}
-          cache-from: type=registry,ref=tootsuite/mastodon:edge
-          cache-to: type=inline
+          cache-from: type=gha
+          cache-to: type=gha,mode=max