From c0b130fd298cc9f6dfadaa9bc767092264f4b321 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Mon, 7 Aug 2023 11:42:03 +0400 Subject: [PATCH] dkbuild: support profil jclain --- dkbuild | 1 + lib/dkbuild/dot-dkbuild.env | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dkbuild b/dkbuild index f071ec4..eb7b75e 100755 --- a/dkbuild +++ b/dkbuild @@ -912,6 +912,7 @@ SHARED_ARGS2=( -P,--prod PROFILE=prod -T,--test PROFILE=test -E,--dtest PROFILE=dtest + -J,--jclain PROFILE=jclain --devel PROFILE=devel -e:,--env: '$TMPENVIRON+=("$value_")' diff --git a/lib/dkbuild/dot-dkbuild.env b/lib/dkbuild/dot-dkbuild.env index a6ae560..12827bf 100644 --- a/lib/dkbuild/dot-dkbuild.env +++ b/lib/dkbuild/dot-dkbuild.env @@ -1,5 +1,7 @@ # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8 -if profile prod test; then +if profile jclain; then + setenv REGISTRY=docker.jclain.fr +elif profile prod test; then setenv REGISTRY=docker.univ-reunion.fr else setenv REGISTRY=docker.self