fix debug output

This commit is contained in:
Stefan Riepenhausen 2023-05-04 13:08:35 +02:00
parent 864acc2593
commit b5d5a6f323
2 changed files with 2 additions and 2 deletions

View File

@ -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)"; \

View File

@ -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)"; \