add function get_registry_url
This commit is contained in:
@@ -609,6 +609,17 @@ load_project_config() {
|
||||
auto_subversion=$(grep "^auto_subversion=" "$config_file" | cut -d= -f2 || echo "no")
|
||||
}
|
||||
|
||||
# Registry-URL auslesen
|
||||
get_registry_url() {
|
||||
local reg_name=$1
|
||||
local reg_file="$REGISTRY_CONFIG_DIR/$reg_name/config-file"
|
||||
if [[ -f "$reg_file" ]]; then
|
||||
grep '^url=' "$reg_file" | cut -d= -f2
|
||||
else
|
||||
echo "$reg_name"
|
||||
fi
|
||||
}
|
||||
|
||||
# Image bauen
|
||||
build_image() {
|
||||
local project=$1
|
||||
|
||||
Reference in New Issue
Block a user