Skip to content

Commit 7f8550e

Browse files
committed
test
1 parent 078af70 commit 7f8550e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.goreleaser.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ builds:
1818
- arm64
1919

2020
dockers:
21-
- image_templates: ["docker.io/brothersam/zexample.{{ .Runtime.Goarch }}:{{ .Version }}"]
21+
- image_templates: ["docker.io/brothersam/zexample.amd64:{{ .Version }}"]
2222
dockerfile: Dockerfile
23+
goarch: amd64
2324
build_flag_templates:
24-
- "--platform=linux/amd64"
25-
build_flag_templates:
25+
- --platform=linux/amd64
2626
- --label=guance.image.title={{ .ProjectName }}
2727
- --label=guance.image.description={{ .ProjectName }}
2828
- --label=guance.image.url=https://github.com/brothersam66/testgoreleaser
@@ -32,11 +32,11 @@ dockers:
3232
- --label=guance.image.revision={{ .FullCommit }}
3333
- --label=guance.image.licenses=MIT
3434

35-
- image_templates: ["docker.io/brothersam/zexample.{{ .Runtime.Goarch }}:{{ .Version }}"]
35+
- image_templates: ["docker.io/brothersam/zexample.arm64:{{ .Version }}"]
3636
dockerfile: Dockerfile
37+
goarch: arm64
3738
build_flag_templates:
38-
- "--platform=linux/arm64/v8"
39-
build_flag_templates:
39+
- --platform=linux/arm64/v8
4040
- --label=guance.image.title={{ .ProjectName }}
4141
- --label=guance.image.description={{ .ProjectName }}
4242
- --label=guance.image.url=https://github.com/brothersam66/testgoreleaser

release.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git add .
22
git commit -m "test"
33
git push origin master
4-
git tag -a v0.3.16 -m "test release"
5-
# goreleaser release --rm-dist
6-
goreleaser --snapshot --skip-publish --rm-dist
4+
git tag -a v0.3.17 -m "test release"
5+
goreleaser release --rm-dist
6+
# goreleaser --snapshot --skip-publish --rm-dist

0 commit comments

Comments
 (0)