diff --git a/scripts/image-builder.sh b/scripts/image-builder.sh index d243aa4..112add4 100755 --- a/scripts/image-builder.sh +++ b/scripts/image-builder.sh @@ -612,7 +612,7 @@ load_project_config() { # Gibt die URL einer Registry anhand des Config-Files zurück get_registry_url() { local reg=$1 - local reg_file="$REGISTRY_CONFIG_DIR/$reg.conf" + local reg_file="$REGISTRY_CONFIG_DIR/$reg/config-file" if [[ ! -f "$reg_file" ]]; then echo "" return @@ -623,7 +623,7 @@ get_registry_url() { # Führt docker login für eine Registry anhand des Config-Files aus registry_login() { local reg=$1 - local reg_file="$REGISTRY_CONFIG_DIR/$reg.conf" + local reg_file="$REGISTRY_CONFIG_DIR/$reg/config-file" if [[ ! -f "$reg_file" ]]; then echo "Registry-Konfiguration '$reg' fehlt!" @@ -718,7 +718,7 @@ build_image() { return fi done - + # Log-Ausgabe echo "${build_cmd[*]}" >> "$logfile"