include secrets.mk

This commit is contained in:
Andreas Neue 2022-09-20 13:38:18 +02:00
parent c6683de2b3
commit 4b9117f942
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@ include make-deploy/k8s.mk
include make-deploy/cron.mk include make-deploy/cron.mk
include config.mk include config.mk
include secrets.mk
self-update: self-update:
@- git submodule update --remote @- git submodule update --remote

View File

@ -32,7 +32,11 @@ pull-compose:
@- echo "\n### pulling image(s)" @- echo "\n### pulling image(s)"
@- $(foreach ctx,$(DEPLOY_HOSTS), \ @- $(foreach ctx,$(DEPLOY_HOSTS), \
docker context use $(ctx); \ docker context use $(ctx); \
if [ $(DOCKER_LOGIN) == 'true' ] then docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY) fi; \ docker context use $(ctx); \
if test $(DOCKER_LOGIN) -eq 1 ; \
then \
docker login -u $(DOCKER_USER) -p $(DOCKER_PASS) $(DOCKER_REGISTRY); \
fi; \
docker pull $(DOCKER_IMAGE); \ docker pull $(DOCKER_IMAGE); \
) )