Only log in if user defined
This commit is contained in:
2
Makefile
2
Makefile
@@ -376,7 +376,9 @@ endif
|
|||||||
|
|
||||||
.PHONY: docker-login
|
.PHONY: docker-login
|
||||||
docker-login:
|
docker-login:
|
||||||
|
ifneq ($(DOCKER_USER),)
|
||||||
docker login -u $(DOCKER_USER) -p $(DOCKER_PASS)
|
docker login -u $(DOCKER_USER) -p $(DOCKER_PASS)
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: log-build-env
|
.PHONY: log-build-env
|
||||||
log-build-vars:
|
log-build-vars:
|
||||||
|
|||||||
Reference in New Issue
Block a user