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
|
# Gibt die URL einer Registry anhand des Config-Files zurück
|
||||||
get_registry_url() {
|
get_registry_url() {
|
||||||
local reg=$1
|
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
|
if [[ ! -f "$reg_file" ]]; then
|
||||||
echo ""
|
echo ""
|
||||||
return
|
return
|
||||||
@@ -623,7 +623,7 @@ get_registry_url() {
|
|||||||
# Führt docker login für eine Registry anhand des Config-Files aus
|
# Führt docker login für eine Registry anhand des Config-Files aus
|
||||||
registry_login() {
|
registry_login() {
|
||||||
local reg=$1
|
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
|
if [[ ! -f "$reg_file" ]]; then
|
||||||
echo "Registry-Konfiguration '$reg' fehlt!"
|
echo "Registry-Konfiguration '$reg' fehlt!"
|
||||||
@@ -718,7 +718,7 @@ build_image() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Log-Ausgabe
|
# Log-Ausgabe
|
||||||
echo "${build_cmd[*]}" >> "$logfile"
|
echo "${build_cmd[*]}" >> "$logfile"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user