File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1414 - v*
1515env :
1616 GOVER : 1.24.12
17- GORELEASER_VER : v1.19.2
17+ GORELEASER_VER : v2.13.3
1818
1919jobs :
2020 test :
4040 - uses : actions/checkout@v6
4141 with :
4242 fetch-depth : 0
43+
4344 - uses : actions/setup-go@v6
4445 with :
4546 go-version : ${{ env.GOVER }}
@@ -51,10 +52,13 @@ jobs:
5152 username : ${{ github.actor }}
5253 password : ${{ secrets.GITHUB_TOKEN }}
5354
55+ - name : Set up Docker Buildx
56+ uses : docker/setup-buildx-action@v3
57+
5458 - name : Release with goreleaser
5559 uses : goreleaser/goreleaser-action@v6
5660 with :
5761 version : ${{ env.GORELEASER_VER }}
58- args : release --rm-dist --debug
62+ args : release --clean --verbose
5963 env :
6064 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 66#
77# SPDX-License-Identifier: Apache-2.0
88
9+ version : 2
910project_name : gnmic
1011builds :
1112 - env :
@@ -33,6 +34,8 @@ dockers:
3334 use : buildx
3435 build_flag_templates :
3536 - " --platform=linux/amd64"
37+ - " --provenance=false"
38+ - " --sbom=false"
3639 - goos : linux
3740 goarch : arm64
3841 ids :
@@ -45,6 +48,8 @@ dockers:
4548 use : buildx
4649 build_flag_templates :
4750 - " --platform=linux/arm64"
51+ - " --provenance=false"
52+ - " --sbom=false"
4853 - goos : linux
4954 goarch : amd64
5055 ids :
@@ -54,6 +59,11 @@ dockers:
5459 - ' ghcr.io/openconfig/gnmic:{{ replace .Version "v" ""}}-scratch'
5560 dockerfile : goreleaser-scratch.dockerfile
5661 skip_push : false
62+ use : buildx
63+ build_flag_templates :
64+ - " --platform=linux/amd64"
65+ - " --provenance=false"
66+ - " --sbom=false"
5767docker_manifests :
5868 - name_template : ' ghcr.io/openconfig/gnmic:{{ replace .Version "v" "" }}'
5969 image_templates :
@@ -78,11 +88,7 @@ checksum:
7888snapshot :
7989 name_template : " {{ .Tag }}"
8090changelog :
81- sort : asc
82- filters :
83- exclude :
84- - " ^docs:"
85- - " ^test:"
91+ use : github-native
8692
8793nfpms :
8894 - id : gnmic
You can’t perform that action at this time.
0 commit comments