Skip to content

Commit 039f656

Browse files
authored
FIX releaser to work with forks (#433)
Signed-off-by: Matt Clegg <[email protected]>
1 parent d45e49d commit 039f656

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ snapshot:
5858
dockers:
5959
- goos: linux
6060
goarch: amd64
61-
skip_push: false
61+
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
6262
dockerfile: Dockerfile
6363
use: buildx
6464
image_templates:
@@ -77,7 +77,7 @@ dockers:
7777

7878
- goos: linux
7979
goarch: arm64
80-
skip_push: false
80+
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
8181
dockerfile: Dockerfile
8282
use: buildx
8383
image_templates:
@@ -97,7 +97,7 @@ dockers:
9797
- goos: linux
9898
goarch: arm
9999
goarm: 7
100-
skip_push: false
100+
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
101101
dockerfile: Dockerfile
102102
use: buildx
103103
image_templates:
@@ -116,7 +116,7 @@ dockers:
116116

117117
- goos: linux
118118
goarch: s390x
119-
skip_push: false
119+
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
120120
dockerfile: Dockerfile
121121
use: buildx
122122
image_templates:
@@ -135,7 +135,7 @@ dockers:
135135

136136
- goos: linux
137137
goarch: ppc64le
138-
skip_push: false
138+
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
139139
dockerfile: Dockerfile
140140
use: buildx
141141
image_templates:
@@ -204,7 +204,7 @@ brews:
204204
name: helm-bot
205205
206206
directory: Formula
207-
homepage: https://github.com/helm/chart-releaser/
207+
homepage: "{{ .GitURL }}"
208208
description: Hosting Helm Charts via GitHub Pages and Releases
209209
install: |
210210
bin.install "cr"

0 commit comments

Comments
 (0)