mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 21:37:14 +02:00
Allow overriding docker repository ORG name
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ORG := $(shell basename $(realpath ..))
|
||||
ORG ?= $(shell basename $(realpath ..))
|
||||
PKGS := $(shell go list ./... | grep -v /vendor/)
|
||||
|
||||
build:
|
||||
@@ -42,13 +42,13 @@ release: pristine cross
|
||||
.PHONY: release
|
||||
|
||||
image: cross
|
||||
docker build -t quay.io/roboll/helmfile:${TAG} .
|
||||
docker build -t quay.io/${ORG}/helmfile:${TAG} .
|
||||
|
||||
run: image
|
||||
docker run --rm -it -t quay.io/roboll/helmfile:${TAG} sh
|
||||
docker run --rm -it -t quay.io/${ORG}/helmfile:${TAG} sh
|
||||
|
||||
push: image
|
||||
docker push quay.io/roboll/helmfile:${TAG}
|
||||
docker push quay.io/${ORG}/helmfile:${TAG}
|
||||
|
||||
tools:
|
||||
go get -u github.com/tcnksm/ghr github.com/mitchellh/gox
|
||||
|
||||
Reference in New Issue
Block a user