mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 07:28:31 +02:00
build: add container distribution
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
FROM alpine:3.4
|
||||
|
||||
COPY dist/helmfile_linux_amd64 /helmfile
|
||||
@@ -33,6 +33,12 @@ release: pristine cross
|
||||
@ghr -b ${BODY} -t ${GITHUB_TOKEN} -u ${ORG} -replace ${TAG} dist
|
||||
.PHONY: release
|
||||
|
||||
image: cross
|
||||
docker build -t quay.io/roboll/helmfile:${TAG} .
|
||||
|
||||
push: image
|
||||
docker push quay.io/roboll/helmfile:${TAG}
|
||||
|
||||
tools:
|
||||
go get -u github.com/roboll/ghr github.com/mitchellh/gox
|
||||
.PHONY: tools
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
Deploy Kubernetes Helm Charts
|
||||
|
||||
[](https://quay.io/repository/roboll/helmfile)
|
||||
|
||||
## about
|
||||
|
||||
Helmfile is a declarative spec for deploying helm charts. It lets you...
|
||||
@@ -32,7 +34,7 @@ charts:
|
||||
|
||||
## install
|
||||
|
||||
`go get github.com/roboll/helmfile` or from [releases](https://github.com/roboll/helmfile/releases).
|
||||
`go get github.com/roboll/helmfile` or [releases](https://github.com/roboll/helmfile/releases) or [container](https://quay.io/roboll/helmfile)
|
||||
|
||||
|
||||
## usage
|
||||
|
||||
+1
-1
@@ -28,4 +28,4 @@ deployment:
|
||||
tag: /v.*/
|
||||
commands:
|
||||
- cd "$WORK" && make tools
|
||||
- cd "$WORK" && BUILD_URL="$CIRCLE_BUILD_URL" make release
|
||||
- cd "$WORK" && BUILD_URL="$CIRCLE_BUILD_URL" make push release
|
||||
|
||||
Reference in New Issue
Block a user