From 515bd7789d7ae648e1bb9e1576ca54d5be8264d2 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Mon, 5 Apr 2021 12:34:06 +0200 Subject: [PATCH] Provide DOCKER_CONTEXT for `make release..` cmds --- makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index f0ead67..41ad7b4 100644 --- a/makefile +++ b/makefile @@ -46,11 +46,13 @@ codecov: -s coverage -t $$(pass show hosts/swarm.autonomic.zone/drone/codecov/token) release-installer: - @docker stack rm abra-installer-script && \ + @DOCKER_CONTEXT=swarm.autonomic.zone \ + docker stack rm abra-installer-script && \ cd deploy/install.abra.autonomic.zone && \ - docker stack deploy -c compose.yml abra-installer-script + DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-installer-script release-abra-apps: - @docker stack rm abra-apps-json && \ + @DOCKER_CONTEXT=swarm.autonomic.zone \ + docker stack rm abra-apps-json && \ cd deploy/abra-apps.cloud.autonomic.zone && \ - docker stack deploy -c compose.yml abra-apps-json + DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-apps-json