fix debug output
This commit is contained in:
parent
864acc2593
commit
b5d5a6f323
|
@ -6,7 +6,7 @@ pull-compose-file:
|
||||||
echo "$(host)"; \
|
echo "$(host)"; \
|
||||||
if test $(DOCKER_LOGIN) -eq 1 ; \
|
if test $(DOCKER_LOGIN) -eq 1 ; \
|
||||||
then \
|
then \
|
||||||
echo "\n#### perfom docker login with user $(DOCKER_USER) on $(DOCKER_REGISTRY)"
|
echo "\n#### perfom docker login with user $(DOCKER_USER) on $(DOCKER_REGISTRY)"; \
|
||||||
ssh $(SSH_USER)@$(host) "docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY)"; \
|
ssh $(SSH_USER)@$(host) "docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY)"; \
|
||||||
fi; \
|
fi; \
|
||||||
ssh $(SSH_USER)@$(host) "docker pull $(DOCKER_IMAGE)"; \
|
ssh $(SSH_USER)@$(host) "docker pull $(DOCKER_IMAGE)"; \
|
||||||
|
|
|
@ -6,7 +6,7 @@ pull-compose:
|
||||||
echo "$(host)"; \
|
echo "$(host)"; \
|
||||||
if test $(DOCKER_LOGIN) -eq 1 ; \
|
if test $(DOCKER_LOGIN) -eq 1 ; \
|
||||||
then \
|
then \
|
||||||
echo "\n#### perfom docker login with user $(DOCKER_USER) on $(DOCKER_REGISTRY)"
|
echo "\n#### perfom docker login with user $(DOCKER_USER) on $(DOCKER_REGISTRY)"; \
|
||||||
ssh $(SSH_USER)@$(host) "docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY)"; \
|
ssh $(SSH_USER)@$(host) "docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY)"; \
|
||||||
fi; \
|
fi; \
|
||||||
ssh $(SSH_USER)@$(host) "docker pull $(DOCKER_IMAGE)"; \
|
ssh $(SSH_USER)@$(host) "docker pull $(DOCKER_IMAGE)"; \
|
||||||
|
|
Loading…
Reference in New Issue