Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Jul 26, 2019
1 parent 4ea5a25 commit 5e77338
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ snapshot-release:
docker push replicated/troubleshoot-manager:alpha

.PHONY: release
release: export GITHUB_TOKEN=$(GITHUB_TOKEN_TROUBLESHOOT)
release:
curl -sL https://git.io/goreleaser | bash -s -- --rm-dist --config deploy/.goreleaser.yml
curl -sL https://git.io/goreleaser | GITHUB_TOKEN=$$GITHUB_TOKEN_TROUBLESHOOT bash -s -- --rm-dist --config deploy/.goreleaser.yml

.PHONY: local-release
local-release:
Expand Down
15 changes: 12 additions & 3 deletions deploy/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,29 @@ archives:
dockers:
- dockerfile: ./deploy/Dockerfile.troubleshoot
image_templates:
- "replicated/troubleshoot:alpha"
- "replicated/troubleshoot:latest"
- "replicated/troubleshoot:{{ .Major }}"
- "replicated/troubleshoot:{{ .Major }}.{{ .Minor }}"
- "replicated/troubleshoot:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
binaries:
- collector
- troubleshoot
- preflight
- dockerfile: ./deploy/Dockerfile.troubleshoot
image_templates:
- "replicated/preflight:alpha"
- "replicated/preflight:latest"
- "replicated/preflight:{{ .Major }}"
- "replicated/preflight:{{ .Major }}.{{ .Minor }}"
- "replicated/preflight:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
binaries:
- collector
- troubleshoot
- preflight
- dockerfile: ./deploy/Dockerfile.manager
image_templates:
- "replicated/troubleshoot-manager:alpha"
- "replicated/troubleshoot-manager:latest"
- "replicated/troubleshoot-manager:{{ .Major }}"
- "replicated/troubleshoot-manager:{{ .Major }}.{{ .Minor }}"
- "replicated/troubleshoot-manager:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
binaries:
- manager

0 comments on commit 5e77338

Please sign in to comment.