init
This commit is contained in:
parent
5a2e29e767
commit
8f98cf5a2d
@ -75,10 +75,11 @@ spec:
|
||||
fi
|
||||
done
|
||||
|
||||
# Convert strings to arrays
|
||||
set -f
|
||||
IFS=' ' read -r -a kanikoFlagArray <<< "$KANIKO_FLAGS"
|
||||
IFS=' ' read -r -a argumentKeyArray <<< "$ARGUMENT_KEYS"
|
||||
IFS=' ' read -r -a secretKeyArray <<< "$SECRET_KEYS"
|
||||
kanikoFlagArray=($KANIKO_FLAGS)
|
||||
argumentKeyArray=($ARGUMENT_KEYS)
|
||||
secretKeyArray=($SECRET_KEYS)
|
||||
|
||||
len=${#kanikoFlagArray[@]}
|
||||
if [ "$len" -ne "${#argumentKeyArray[@]}" ] || [ "$len" -ne "${#secretKeyArray[@]}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user