docker: always restore default context (we need to make that prettier)

This commit is contained in:
Andreas Neue 2022-09-07 16:48:48 +02:00
parent 80a1a80379
commit 41c22f62ab
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
stored_ctx = `docker context ls | grep "\*" | cut -d " " -f1`
# if want our old context back, we need something like that:
#stored_ctx = `docker context ls | grep "\*" | cut -d " " -f1`
stored_ctx = 'default' # HACK
create-docker-contexts:
@- $(foreach host,$(DEPLOY_HOSTS), \