modifs.mineures sans commentaires
This commit is contained in:
parent
e79e74d379
commit
2ca4332063
|
@ -172,6 +172,18 @@ if [ -z "$_RUNDK_IN_DOCKER" ]; then
|
||||||
fi
|
fi
|
||||||
IMAGENAME=nulib/rundk
|
IMAGENAME=nulib/rundk
|
||||||
|
|
||||||
|
if [ -z "$bootstrap" ]; then
|
||||||
|
if [ -f "$PROJDIR/$BUILDENV" ]; then
|
||||||
|
source "$PROJDIR/$BUILDENV" || exit 1
|
||||||
|
fi
|
||||||
|
if [ -z "$IMAGE" ]; then
|
||||||
|
[ -n "$PRIVAREG" ] && IMAGE="$PRIVAREG/$IMAGENAME" || IMAGE="$REGISTRY/$IMAGENAME"
|
||||||
|
fi
|
||||||
|
if [ -z "$(docker image ls --no-trunc --format '{{.Repository}}:{{.Tag}}' "$IMAGE" 2>/dev/null)" ]; then
|
||||||
|
bootstrap=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$bootstrap" ]; then
|
if [ -n "$bootstrap" ]; then
|
||||||
BUILD_ARGS=(
|
BUILD_ARGS=(
|
||||||
REGISTRY
|
REGISTRY
|
||||||
|
@ -309,10 +321,6 @@ OPTIONS
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$IMAGE" ]; then
|
|
||||||
[ -n "$PRIVAREG" ] && IMAGE="$PRIVAREG/$IMAGENAME" || IMAGE="$REGISTRY/$IMAGENAME"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Lancer la commande
|
## Lancer la commande
|
||||||
|
|
Loading…
Reference in New Issue