mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
Try to speed up ghcr publish using arch matrix
This commit is contained in:
parent
0133999bbd
commit
184eabdea5
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ghcr-publish.yml
vendored
5
.github/workflows/ghcr-publish.yml
vendored
|
|
@ -30,6 +30,9 @@ jobs:
|
|||
# This is used to complete the identity challenge
|
||||
# with sigstore/fulcio when running outside of PRs.
|
||||
id-token: write
|
||||
strategy:
|
||||
matrix:
|
||||
architecture: [amd64, arm64]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -77,7 +80,7 @@ jobs:
|
|||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/${{ matrix.architecture }}
|
||||
|
||||
# Sign the resulting Docker image digest except on PRs.
|
||||
# This will only write to the public Rekor transparency log when the Docker
|
||||
|
|
|
|||
Loading…
Reference in a new issue