* 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:27:21 +01:00
parent 38c2b5c2f6
commit a84d82e431

View File

@@ -5,7 +5,6 @@ set -o pipefail
SCRIPT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")"
REPO_URL="${REPO_URL:-uleenucks}"
DOCKERFILESPATH="${HOME}/closed/dockerfiles"
ERRORS="$(pwd)/errors"
@@ -53,7 +52,7 @@ dofile() {
main(){
# get the dockerfiles
IFS=$'\n'
files=( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) )
mapfile -t files < <( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) )
unset IFS
# build all dockerfiles
@@ -70,10 +69,9 @@ main(){
}
run(){
args=$@
f=$1
args=( "$@" )
if [[ "$f" == "" ]]; then
if [[ "$1" == "" ]]; then
main "$args"
else
$args