Skip to content

Commit 37f7e2a

Browse files
Merge pull request #683 from LaurentGoderre/fix-onbuild
Fixed the onbuild build broken by build stages
2 parents 6dd2c7e + 455313c commit 37f7e2a

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)