@@ -57,74 +57,74 @@ builds:
57
57
# - v2
58
58
# - v3
59
59
60
- dockers :
61
- # You can declare multiple Docker images.
62
- # They will be matched against the binaries generated by your builds section
63
- # and packages generated by your nfpms section.
60
+ # dockers:
61
+ # # You can declare multiple Docker images.
62
+ # # They will be matched against the binaries generated by your builds section
63
+ # # and packages generated by your nfpms section.
64
64
65
- # Templates of the Docker image names.
66
- # if prefix URL, docker img will push.
67
- - image_templates :
68
- - " docker.io/brothersam/guanceexample:{{ .Version }}-amd64"
69
- # - "gcr.io/brothersam/guanceexample:{{ .Version }}"
70
- # - "brothersam/guanceexample:{{ .Version }}"
71
-
72
- # GOOS of the built binaries/packages that should be used.
73
- # goos: linux
74
-
75
- # GOARCH of the built binaries/packages that should be used.
76
- goarch : amd64
77
-
78
- # GOAMD64 of the built binaries/packages that should be used.
79
- # goamd64: 'v2'
80
-
81
- # Skips the docker push.
82
- # Could be useful if you also do draft releases.
83
- # If set to auto, the release will not be pushed to the Docker repository
84
- # in case there is an indicator of a prerelease in the tag, e.g. v1.0.0-rc1.
85
- # Defaults to false.
86
- skip_push : false
87
-
88
- # Path to the Dockerfile (from the project root).
89
- # Defaults to `Dockerfile`.
90
- dockerfile : Dockerfile
91
-
92
- # Set the "backend" for the Docker pipe.
93
- # Valid options are: docker, buildx, podman.
94
- # podman is a GoReleaser Pro feature and is only available on Linux.
95
- # Defaults to docker.
96
- use : docker
97
-
98
- # Template of the docker build flags.
99
- build_flag_templates :
100
- - --platform=linux/amd64
101
- - --label=org.opencontainers.image.title={{ .ProjectName }}
102
- - --label=org.opencontainers.image.description={{ .ProjectName }}
103
- - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
104
- - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
105
- - --label=org.opencontainers.image.version={{ .Version }}
106
- - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
107
- - --label=org.opencontainers.image.revision={{ .FullCommit }}
108
- - --label=org.opencontainers.image.licenses=MIT
109
-
110
- - image_templates :
111
- - " docker.io/brothersam/guanceexample:{{ .Version }}-arm64v8"
112
- # goos: linux
113
- goarch : arm64
114
- # goarm: 'v6'
115
- skip_push : false
116
- dockerfile : Dockerfile
117
- use : docker
118
- build_flag_templates :
119
- - --platform=linux/arm64/v8
120
- - --label=org.opencontainers.image.title={{ .ProjectName }}
121
- - --label=org.opencontainers.image.description={{ .ProjectName }}
122
- - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
123
- - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
124
- - --label=org.opencontainers.image.version={{ .Version }}
125
- - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
126
- - --label=org.opencontainers.image.revision={{ .FullCommit }}
127
- - --label=org.opencontainers.image.licenses=MIT
65
+ # # Templates of the Docker image names.
66
+ # # if prefix URL, docker img will push.
67
+ # - image_templates:
68
+ # - "docker.io/brothersam/guanceexample:{{ .Version }}-amd64"
69
+ # # - "gcr.io/brothersam/guanceexample:{{ .Version }}"
70
+ # # - "brothersam/guanceexample:{{ .Version }}"
71
+
72
+ # # GOOS of the built binaries/packages that should be used.
73
+ # # goos: linux
74
+
75
+ # # GOARCH of the built binaries/packages that should be used.
76
+ # goarch: amd64
77
+
78
+ # # GOAMD64 of the built binaries/packages that should be used.
79
+ # # goamd64: 'v2'
80
+
81
+ # # Skips the docker push.
82
+ # # Could be useful if you also do draft releases.
83
+ # # If set to auto, the release will not be pushed to the Docker repository
84
+ # # in case there is an indicator of a prerelease in the tag, e.g. v1.0.0-rc1.
85
+ # # Defaults to false.
86
+ # skip_push: false
87
+
88
+ # # Path to the Dockerfile (from the project root).
89
+ # # Defaults to `Dockerfile`.
90
+ # dockerfile: Dockerfile
91
+
92
+ # # Set the "backend" for the Docker pipe.
93
+ # # Valid options are: docker, buildx, podman.
94
+ # # podman is a GoReleaser Pro feature and is only available on Linux.
95
+ # # Defaults to docker.
96
+ # use: docker
97
+
98
+ # # Template of the docker build flags.
99
+ # build_flag_templates:
100
+ # - --platform=linux/amd64
101
+ # - --label=org.opencontainers.image.title={{ .ProjectName }}
102
+ # - --label=org.opencontainers.image.description={{ .ProjectName }}
103
+ # - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
104
+ # - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
105
+ # - --label=org.opencontainers.image.version={{ .Version }}
106
+ # - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
107
+ # - --label=org.opencontainers.image.revision={{ .FullCommit }}
108
+ # - --label=org.opencontainers.image.licenses=MIT
109
+
110
+ # - image_templates:
111
+ # - "docker.io/brothersam/guanceexample:{{ .Version }}-arm64v8"
112
+ # # goos: linux
113
+ # goarch: arm64
114
+ # # goarm: 'v6'
115
+ # skip_push: false
116
+ # dockerfile: Dockerfile
117
+ # use: docker
118
+ # build_flag_templates:
119
+ # - --platform=linux/arm64/v8
120
+ # - --label=org.opencontainers.image.title={{ .ProjectName }}
121
+ # - --label=org.opencontainers.image.description={{ .ProjectName }}
122
+ # - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
123
+ # - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
124
+ # - --label=org.opencontainers.image.version={{ .Version }}
125
+ # - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
126
+ # - --label=org.opencontainers.image.revision={{ .FullCommit }}
127
+ # - --label=org.opencontainers.image.licenses=MIT
128
128
129
129
130
130
# # GoReleaser can be wired to nfpm to generate and publish .deb, .rpm and .apk packages.
0 commit comments