mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
auto update of scripts/bootstrapit_update.sh
This commit is contained in:
parent
cd72e8af0a
commit
7835c8b337
1 changed files with 5 additions and 1 deletions
|
|
@ -239,9 +239,13 @@ if [[ -z "$DOCKER_REGISTRY_URL" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$DOCKER_BASE_IMAGE" ]]; then
|
if [[ -z "$DOCKER_BASE_IMAGE" ]]; then
|
||||||
DOCKER_BASE_IMAGE=${DOCKER_REGISTRY_URL}/base:latest
|
DOCKER_BASE_IMAGE=${DOCKER_REGISTRY_URL}/base
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# strip off ":latest"
|
||||||
|
# https://medium.com/@mccode/the-misunderstood-docker-tag-latest-af3babfd6375
|
||||||
|
DOCKER_BASE_IMAGE="$(dirname ${DOCKER_BASE_IMAGE})"/"$(basename ${DOCKER_BASE_IMAGE} ':latest')";
|
||||||
|
|
||||||
if [[ -z "$MODULE_NAME" ]]; then
|
if [[ -z "$MODULE_NAME" ]]; then
|
||||||
MODULE_NAME=$( echo "${PACKAGE_NAME}" | tr '[:upper:]' '[:lower:]' | sed -E -e 's;-;_;g'; );
|
MODULE_NAME=$( echo "${PACKAGE_NAME}" | tr '[:upper:]' '[:lower:]' | sed -E -e 's;-;_;g'; );
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue