Skip to content

Commit 5e77338

Browse files
committed
Release
1 parent 4ea5a25 commit 5e77338

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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)
8685
release:
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
9089
local-release:

deploy/.goreleaser.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,29 @@ archives:
8484
dockers:
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

0 commit comments

Comments
 (0)