include secrets.mk
This commit is contained in:
parent
c6683de2b3
commit
4b9117f942
1
Makefile
1
Makefile
|
@ -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
|
||||||
|
|
|
@ -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); \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue