build: add container distribution
This commit is contained in:
		
							parent
							
								
									9700e05908
								
							
						
					
					
						commit
						ffa98fdbdd
					
				|  | @ -0,0 +1,3 @@ | |||
| FROM alpine:3.4 | ||||
| 
 | ||||
| COPY dist/helmfile_linux_amd64 /helmfile | ||||
							
								
								
									
										6
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										6
									
								
								Makefile
								
								
								
								
							|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue