From 5d33a3af2298c5ad18f5127731505132b441e5c7 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 5 Apr 2023 11:48:24 +0100 Subject: [PATCH] bake: add replace func to stdlib Signed-off-by: Justin Chadwell --- bake/hclparser/stdlib.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bake/hclparser/stdlib.go b/bake/hclparser/stdlib.go index 06269846..4f828ee2 100644 --- a/bake/hclparser/stdlib.go +++ b/bake/hclparser/stdlib.go @@ -79,6 +79,7 @@ var stdlibFunctions = map[string]function.Function{ "regex_replace": stdlib.RegexReplaceFunc, "regex": stdlib.RegexFunc, "regexall": stdlib.RegexAllFunc, + "replace": stdlib.ReplaceFunc, "reverse": stdlib.ReverseFunc, "reverselist": stdlib.ReverseListFunc, "rsadecrypt": crypto.RsaDecryptFunc,