@@ -21,8 +21,8 @@ builds:
21
21
- 6
22
22
- 7
23
23
24
- gomod :
25
- proxy : true
24
+ # gomod:
25
+ # proxy: true
26
26
27
27
archives :
28
28
# https://goreleaser.com/customization/archive/
@@ -31,110 +31,110 @@ archives:
31
31
- LICENSE
32
32
- README.md
33
33
34
- signs :
35
- - cmd : cosign
36
- env :
37
- - COSIGN_EXPERIMENTAL=1
38
- certificate : ' ${artifact}.pem'
39
- args :
40
- - sign-blob
41
- - ' --output-certificate=${certificate}'
42
- - ' --output-signature=${signature}'
43
- - ' ${artifact}'
44
- - " --yes" # needed on cosign 2.0.0+
45
- artifacts : checksum
46
- output : true
47
-
48
- dockers :
49
- # https://goreleaser.com/customization/docker/
50
- - use : buildx
51
- dockerfile : Dockerfile.release
52
- goos : linux
53
- goarch : amd64
54
- image_templates :
55
- - " ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-amd64"
56
- - " ghcr.io/gnolang/{{ .ProjectName }}:latest-amd64"
57
- build_flag_templates :
58
- - " --platform=linux/amd64"
59
- - " --label=org.opencontainers.image.created={{.Date}}"
60
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
61
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
62
- - " --label=org.opencontainers.image.version={{.Version}}"
63
- extra_files :
64
- - scripts
65
- - use : buildx
66
- dockerfile : Dockerfile.release
67
- goos : linux
68
- goarch : arm64
69
- image_templates :
70
- - " ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-arm64v8"
71
- - " ghcr.io/gnolang/{{ .ProjectName }}:latest-arm64v8"
72
- build_flag_templates :
73
- - " --platform=linux/arm64/v8"
74
- - " --label=org.opencontainers.image.created={{.Date}}"
75
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
76
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
77
- - " --label=org.opencontainers.image.version={{.Version}}"
78
- extra_files :
79
- - scripts
80
- - use : buildx
81
- dockerfile : Dockerfile.release
82
- goos : linux
83
- goarch : arm
84
- goarm : 6
85
- image_templates :
86
- - " ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv6"
87
- - " ghcr.io/gnolang/{{ .ProjectName }}:latest-armv6"
88
- build_flag_templates :
89
- - " --platform=linux/arm/v6"
90
- - " --label=org.opencontainers.image.created={{.Date}}"
91
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
92
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
93
- - " --label=org.opencontainers.image.version={{.Version}}"
94
- extra_files :
95
- - scripts
96
- - use : buildx
97
- dockerfile : Dockerfile.release
98
- goos : linux
99
- goarch : arm
100
- goarm : 7
101
- image_templates :
102
- - " ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv7"
103
- - " ghcr.io/gnolang/{{ .ProjectName }}:latest-armv7"
104
- build_flag_templates :
105
- - " --platform=linux/arm/v7"
106
- - " --label=org.opencontainers.image.created={{.Date}}"
107
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
108
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
109
- - " --label=org.opencontainers.image.version={{.Version}}"
110
- extra_files :
111
- - scripts
112
-
113
- docker_manifests :
114
- # https://goreleaser.com/customization/docker_manifest/
115
- - name_template : ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}
116
- image_templates :
117
- - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-amd64
118
- - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-arm64v8
119
- - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv6
120
- - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv7
121
- - name_template : ghcr.io/gnolang/{{ .ProjectName }}:latest
122
- image_templates :
123
- - ghcr.io/gnolang/{{ .ProjectName }}:latest-amd64
124
- - ghcr.io/gnolang/{{ .ProjectName }}:latest-arm64v8
125
- - ghcr.io/gnolang/{{ .ProjectName }}:latest-armv6
126
- - ghcr.io/gnolang/{{ .ProjectName }}:latest-armv7
127
-
128
- docker_signs :
129
- - cmd : cosign
130
- env :
131
- - COSIGN_EXPERIMENTAL=1
132
- artifacts : images
133
- output : true
134
- args :
135
- - ' sign'
136
- - ' ${artifact}'
137
- - " --yes" # needed on cosign 2.0.0+
34
+ # signs:
35
+ # - cmd: cosign
36
+ # env:
37
+ # - COSIGN_EXPERIMENTAL=1
38
+ # certificate: '${artifact}.pem'
39
+ # args:
40
+ # - sign-blob
41
+ # - '--output-certificate=${certificate}'
42
+ # - '--output-signature=${signature}'
43
+ # - '${artifact}'
44
+ # - "--yes" # needed on cosign 2.0.0+
45
+ # artifacts: checksum
46
+ # output: true
47
+
48
+ # dockers:
49
+ # # https://goreleaser.com/customization/docker/
50
+ # - use: buildx
51
+ # dockerfile: Dockerfile.release
52
+ # goos: linux
53
+ # goarch: amd64
54
+ # image_templates:
55
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-amd64"
56
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:latest-amd64"
57
+ # build_flag_templates:
58
+ # - "--platform=linux/amd64"
59
+ # - "--label=org.opencontainers.image.created={{.Date}}"
60
+ # - "--label=org.opencontainers.image.title={{.ProjectName}}"
61
+ # - "--label=org.opencontainers.image.revision={{.FullCommit}}"
62
+ # - "--label=org.opencontainers.image.version={{.Version}}"
63
+ # extra_files:
64
+ # - scripts
65
+ # - use: buildx
66
+ # dockerfile: Dockerfile.release
67
+ # goos: linux
68
+ # goarch: arm64
69
+ # image_templates:
70
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-arm64v8"
71
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:latest-arm64v8"
72
+ # build_flag_templates:
73
+ # - "--platform=linux/arm64/v8"
74
+ # - "--label=org.opencontainers.image.created={{.Date}}"
75
+ # - "--label=org.opencontainers.image.title={{.ProjectName}}"
76
+ # - "--label=org.opencontainers.image.revision={{.FullCommit}}"
77
+ # - "--label=org.opencontainers.image.version={{.Version}}"
78
+ # extra_files:
79
+ # - scripts
80
+ # - use: buildx
81
+ # dockerfile: Dockerfile.release
82
+ # goos: linux
83
+ # goarch: arm
84
+ # goarm: 6
85
+ # image_templates:
86
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv6"
87
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:latest-armv6"
88
+ # build_flag_templates:
89
+ # - "--platform=linux/arm/v6"
90
+ # - "--label=org.opencontainers.image.created={{.Date}}"
91
+ # - "--label=org.opencontainers.image.title={{.ProjectName}}"
92
+ # - "--label=org.opencontainers.image.revision={{.FullCommit}}"
93
+ # - "--label=org.opencontainers.image.version={{.Version}}"
94
+ # extra_files:
95
+ # - scripts
96
+ # - use: buildx
97
+ # dockerfile: Dockerfile.release
98
+ # goos: linux
99
+ # goarch: arm
100
+ # goarm: 7
101
+ # image_templates:
102
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv7"
103
+ # - "ghcr.io/gnolang/{{ .ProjectName }}:latest-armv7"
104
+ # build_flag_templates:
105
+ # - "--platform=linux/arm/v7"
106
+ # - "--label=org.opencontainers.image.created={{.Date}}"
107
+ # - "--label=org.opencontainers.image.title={{.ProjectName}}"
108
+ # - "--label=org.opencontainers.image.revision={{.FullCommit}}"
109
+ # - "--label=org.opencontainers.image.version={{.Version}}"
110
+ # extra_files:
111
+ # - scripts
112
+
113
+ # docker_manifests:
114
+ # # https://goreleaser.com/customization/docker_manifest/
115
+ # - name_template: ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}
116
+ # image_templates:
117
+ # - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-amd64
118
+ # - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-arm64v8
119
+ # - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv6
120
+ # - ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }}-armv7
121
+ # - name_template: ghcr.io/gnolang/{{ .ProjectName }}:latest
122
+ # image_templates:
123
+ # - ghcr.io/gnolang/{{ .ProjectName }}:latest-amd64
124
+ # - ghcr.io/gnolang/{{ .ProjectName }}:latest-arm64v8
125
+ # - ghcr.io/gnolang/{{ .ProjectName }}:latest-armv6
126
+ # - ghcr.io/gnolang/{{ .ProjectName }}:latest-armv7
127
+
128
+ # docker_signs:
129
+ # - cmd: cosign
130
+ # env:
131
+ # - COSIGN_EXPERIMENTAL=1
132
+ # artifacts: images
133
+ # output: true
134
+ # args:
135
+ # - 'sign'
136
+ # - '${artifact}'
137
+ # - "--yes" # needed on cosign 2.0.0+
138
138
139
139
checksum :
140
140
name_template : ' checksums.txt'
0 commit comments