Skip to content

Commit 455313c

Browse files
Fixed the onbuild build broken by build stages
1 parent 6dd2c7e commit 455313c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ for version in "${versions[@]}"; do
6060
IFS=' ' read -ra variants <<< "$(get_variants "$(dirname "$version")" "${variant_arg[@]}")"
6161

6262
# Only build the default Dockerfile if "default" is in the variant list
63-
if [[ "${variants[*]}" =~ "default" ]]; then
63+
if [[ "${variants[*]}" =~ "default" ]] || [[ "${variants[*]}" =~ "onbuild" ]] ; then
6464
build "$version" "" "$tag"
6565
fi
6666

0 commit comments

Comments
 (0)