File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ builds:
18
18
- arm64
19
19
20
20
dockers :
21
- - image_templates : ["docker.io/brothersam/zexample.{{ .Runtime.Goarch }} :{{ .Version }}"]
21
+ - image_templates : ["docker.io/brothersam/zexample.amd64 :{{ .Version }}"]
22
22
dockerfile : Dockerfile
23
+ goarch : amd64
23
24
build_flag_templates :
24
- - " --platform=linux/amd64"
25
- build_flag_templates :
25
+ - --platform=linux/amd64
26
26
- --label=guance.image.title={{ .ProjectName }}
27
27
- --label=guance.image.description={{ .ProjectName }}
28
28
- --label=guance.image.url=https://github.com/brothersam66/testgoreleaser
@@ -32,11 +32,11 @@ dockers:
32
32
- --label=guance.image.revision={{ .FullCommit }}
33
33
- --label=guance.image.licenses=MIT
34
34
35
- - image_templates : ["docker.io/brothersam/zexample.{{ .Runtime.Goarch }} :{{ .Version }}"]
35
+ - image_templates : ["docker.io/brothersam/zexample.arm64 :{{ .Version }}"]
36
36
dockerfile : Dockerfile
37
+ goarch : arm64
37
38
build_flag_templates :
38
- - " --platform=linux/arm64/v8"
39
- build_flag_templates :
39
+ - --platform=linux/arm64/v8
40
40
- --label=guance.image.title={{ .ProjectName }}
41
41
- --label=guance.image.description={{ .ProjectName }}
42
42
- --label=guance.image.url=https://github.com/brothersam66/testgoreleaser
Original file line number Diff line number Diff line change 1
1
git add .
2
2
git commit -m " test"
3
3
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
You can’t perform that action at this time.
0 commit comments