dkbuild: support profil jclain
This commit is contained in:
parent
ae20e49440
commit
c0b130fd29
1
dkbuild
1
dkbuild
|
@ -912,6 +912,7 @@ SHARED_ARGS2=(
|
||||||
-P,--prod PROFILE=prod
|
-P,--prod PROFILE=prod
|
||||||
-T,--test PROFILE=test
|
-T,--test PROFILE=test
|
||||||
-E,--dtest PROFILE=dtest
|
-E,--dtest PROFILE=dtest
|
||||||
|
-J,--jclain PROFILE=jclain
|
||||||
--devel PROFILE=devel
|
--devel PROFILE=devel
|
||||||
|
|
||||||
-e:,--env: '$TMPENVIRON+=("$value_")'
|
-e:,--env: '$TMPENVIRON+=("$value_")'
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- 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
|
setenv REGISTRY=docker.univ-reunion.fr
|
||||||
else
|
else
|
||||||
setenv REGISTRY=docker.self
|
setenv REGISTRY=docker.self
|
||||||
|
|
Loading…
Reference in New Issue