Merge pull request #929 from aledbf/master

Add release task in Makefiles and avoid multiple builds
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-06-30 16:22:03 -04:00 committed by GitHub
commit 24d78cae8e
2 changed files with 9 additions and 2 deletions

View file

@ -67,6 +67,10 @@ docker-build:
docker-push:
make -C controllers/nginx all-push
.PHONE: release
release:
make -C controllers/nginx release
.PHONY: ginkgo
ginkgo:
go get github.com/onsi/ginkgo/ginkgo

View file

@ -88,7 +88,7 @@ ifeq ($(ARCH), amd64)
endif
push: .push-$(ARCH)
.push-$(ARCH): .container-$(ARCH)
.push-$(ARCH):
$(DOCKER) push $(MULTI_ARCH_IMG):$(TAG)
ifeq ($(ARCH), amd64)
$(DOCKER) push $(IMAGE):$(TAG)
@ -123,3 +123,6 @@ cover:
vet:
@echo "+ $@"
@go vet $(shell go list ${PKG}/... | grep -v vendor)
release: all-container all-push
echo "done"