Skip to content

Commit d8a6c32

Browse files
tobiasgecimnine
andauthored
Update build.sh
Include suggestion from cimnine Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
1 parent 7fb78b3 commit d8a6c32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
257257
# Asuming non Github builds should always proceed
258258
SHOULD_BUILD="true"
259259
BUILD_REASON="${BUILD_REASON} interactive"
260-
fi
261-
if [ "$DOCKER_REGISTRY" = "docker.io" ] && [ "$SHOULD_BUILD" = "false" ]; then
260+
elsif [ "$DOCKER_REGISTRY" = "docker.io" ]; then
262261
source ./build-functions/get-public-image-config.sh
263262
IFS=':' read -ra DOCKER_FROM_SPLIT <<< "${DOCKER_FROM}"
264263
if ! [[ ${DOCKER_FROM_SPLIT[0]} =~ .*/.* ]]; then

0 commit comments

Comments
 (0)