mirror of
https://github.com/pikami/cosmium.git
synced 2026-11-12 21:42:15 +00:00
Fix multi-arch Docker manifests by upgrading GoReleaser (#22)
v1 left Buildx provenance enabled, so each architecture image was a manifest list and docker manifest create failed. v2.20.0 disables provenance and SBOM attestations unless they are set explicitly. Co-authored-by: Cursor Agent <[email protected]>
This commit is contained in:
1 parent
2fddaf7498
commit
9f90f3f120
2 files changed
+6
-4
No files matched your search
@@ -47,7 +47,7 @@ jobs:
|
|||||||
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5
|
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: ${{ env.GITHUB_REF_NAME }}
|
version: v2.20.0
|
||||||
args: release --clean
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
|
||||||
+5
-3
@@ -1,3 +1,5 @@
|
|||||||
|
version: 2
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- binary: cosmium
|
- binary: cosmium
|
||||||
main: ./cmd/server
|
main: ./cmd/server
|
||||||
@@ -30,13 +32,13 @@ brews:
|
|||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: bundle
|
- id: bundle
|
||||||
format: tar.gz
|
formats: [tar.gz]
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
formats: [zip]
|
||||||
- id: shared-libraries
|
- id: shared-libraries
|
||||||
meta: true
|
meta: true
|
||||||
format: "tar.gz"
|
formats: [tar.gz]
|
||||||
wrap_in_directory: true
|
wrap_in_directory: true
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_shared-libraries"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_shared-libraries"
|
||||||
files:
|
files:
|
||||||
|
|||||||
Reference in new issue
Block a user