mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 21:05:22 +00:00
use docker scopes to try and improve caching
This commit is contained in:
parent
0ff34d105d
commit
bf8bfdbb9a
1 changed files with 4 additions and 3 deletions
7
.github/workflows/staging-ghcr-public.yml
vendored
7
.github/workflows/staging-ghcr-public.yml
vendored
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
name: Publish to ghcr (staging)
|
name: Publish to ghcr (staging)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
@ -63,8 +62,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: |
|
||||||
cache-to: type=gha,mode=max
|
type=gha,scope=${{ matrix.platform }}
|
||||||
|
cache-to: |
|
||||||
|
type=gha,mode=max,scope=${{ matrix.platform }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
|
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue