Use buildx functions for faster build (#20692)
* Use buildx functions for faster build * move link * cannot use --link with --chown
This commit is contained in:
parent
daf6f3453e
commit
92734e3df1
2 changed files with 6 additions and 4 deletions
5
.github/workflows/build-image.yml
vendored
5
.github/workflows/build-image.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue