debug output
This commit is contained in:
parent
ce6131e5c0
commit
864acc2593
|
@ -6,6 +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)"
|
||||||
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,6 +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)"
|
||||||
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