mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-07 08:34:00 +01:00
Update build.sh
Include suggestion from cimnine Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
parent
7fb78b3fd2
commit
d8a6c321a1
3
build.sh
3
build.sh
@ -257,8 +257,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
|
||||
# Asuming non Github builds should always proceed
|
||||
SHOULD_BUILD="true"
|
||||
BUILD_REASON="${BUILD_REASON} interactive"
|
||||
fi
|
||||
if [ "$DOCKER_REGISTRY" = "docker.io" ] && [ "$SHOULD_BUILD" = "false" ]; then
|
||||
elsif [ "$DOCKER_REGISTRY" = "docker.io" ]; then
|
||||
source ./build-functions/get-public-image-config.sh
|
||||
IFS=':' read -ra DOCKER_FROM_SPLIT <<< "${DOCKER_FROM}"
|
||||
if ! [[ ${DOCKER_FROM_SPLIT[0]} =~ .*/.* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user