Fix shellcheck error
This commit is contained in:
parent
d8a6c321a1
commit
795e82be46
4
build.sh
4
build.sh
@ -156,7 +156,7 @@ fi
|
|||||||
###
|
###
|
||||||
# Determining the value for DOCKER_FROM
|
# Determining the value for DOCKER_FROM
|
||||||
###
|
###
|
||||||
if [ -z "$DOCKER_FROM"]; then
|
if [ -z "$DOCKER_FROM" ]; then
|
||||||
DOCKER_FROM="python:3.7-alpine"
|
DOCKER_FROM="python:3.7-alpine"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
|
|||||||
# Asuming non Github builds should always proceed
|
# Asuming non Github builds should always proceed
|
||||||
SHOULD_BUILD="true"
|
SHOULD_BUILD="true"
|
||||||
BUILD_REASON="${BUILD_REASON} interactive"
|
BUILD_REASON="${BUILD_REASON} interactive"
|
||||||
elsif [ "$DOCKER_REGISTRY" = "docker.io" ]; then
|
elif [ "$DOCKER_REGISTRY" = "docker.io" ]; then
|
||||||
source ./build-functions/get-public-image-config.sh
|
source ./build-functions/get-public-image-config.sh
|
||||||
IFS=':' read -ra DOCKER_FROM_SPLIT <<< "${DOCKER_FROM}"
|
IFS=':' read -ra DOCKER_FROM_SPLIT <<< "${DOCKER_FROM}"
|
||||||
if ! [[ ${DOCKER_FROM_SPLIT[0]} =~ .*/.* ]]; then
|
if ! [[ ${DOCKER_FROM_SPLIT[0]} =~ .*/.* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user