fix config-path
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user