* MOD: workflow tests
Some checks failed
Build and push / check and test (push) Failing after 6s
Build and push / build_and_push (push) Failing after 2s

Signed-off-by: Uwe Hermann <uh@uleenucks.de>
This commit is contained in:
2024-01-21 13:29:04 +01:00
parent a84d82e431
commit 84b0d50d05

View File

@@ -52,7 +52,7 @@ dofile() {
main(){
# get the dockerfiles
IFS=$'\n'
mapfile -t files < <( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) )
mapfile -t files < <(find . -iname '*Dockerfile' | sed 's|./||' | sort)
unset IFS
# build all dockerfiles
@@ -74,14 +74,8 @@ run(){
if [[ "$1" == "" ]]; then
main "$args"
else
$args
"$args"
fi
}
run $@
/kaniko/executor \
--dockerfile="Dockerfile1" \
--destination="registry.io/image1:tag1" \
--cleanup
/kaniko/executor --dockerfile="Dockerfile2" --destination="registry.io/image2:tag2"
run "$@"