File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,8 @@ snapshot-release:
8282 docker push replicated/troubleshoot-manager:alpha
8383
8484.PHONY : release
85- release : export GITHUB_TOKEN=$(GITHUB_TOKEN_TROUBLESHOOT )
8685release :
87- curl -sL https://git.io/goreleaser | bash -s -- --rm-dist --config deploy/.goreleaser.yml
86+ curl -sL https://git.io/goreleaser | GITHUB_TOKEN= $$ GITHUB_TOKEN_TROUBLESHOOT bash -s -- --rm-dist --config deploy/.goreleaser.yml
8887
8988.PHONY : local-release
9089local-release :
Original file line number Diff line number Diff line change @@ -84,20 +84,29 @@ archives:
8484dockers :
8585 - dockerfile : ./deploy/Dockerfile.troubleshoot
8686 image_templates :
87- - " replicated/troubleshoot:alpha"
87+ - " replicated/troubleshoot:latest"
88+ - " replicated/troubleshoot:{{ .Major }}"
89+ - " replicated/troubleshoot:{{ .Major }}.{{ .Minor }}"
90+ - " replicated/troubleshoot:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
8891 binaries :
8992 - collector
9093 - troubleshoot
9194 - preflight
9295 - dockerfile : ./deploy/Dockerfile.troubleshoot
9396 image_templates :
94- - " replicated/preflight:alpha"
97+ - " replicated/preflight:latest"
98+ - " replicated/preflight:{{ .Major }}"
99+ - " replicated/preflight:{{ .Major }}.{{ .Minor }}"
100+ - " replicated/preflight:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
95101 binaries :
96102 - collector
97103 - troubleshoot
98104 - preflight
99105 - dockerfile : ./deploy/Dockerfile.manager
100106 image_templates :
101- - " replicated/troubleshoot-manager:alpha"
107+ - " replicated/troubleshoot-manager:latest"
108+ - " replicated/troubleshoot-manager:{{ .Major }}"
109+ - " replicated/troubleshoot-manager:{{ .Major }}.{{ .Minor }}"
110+ - " replicated/troubleshoot-manager:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
102111 binaries :
103112 - manager
You can’t perform that action at this time.
0 commit comments