Commit dc28e074 by 文帅营

ci:解决构建脚本问题

1 parent 27c256bf
......@@ -40,7 +40,7 @@ BASE_IMAGES_NAME=${!BASE_IMAGES_NAME_KEY}
replace_vars_in_file() {
local template_file="$1"
local output_file="$2"
local var_pattern='\$\{([^}]+)\}'
local var_pattern='\$\{([a-zA-Z_][a-zA-Z0-9_]*)\}'
local temp_file
if [[ "$template_file" == "$output_file" ]]; then
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!