From fdca7175fc889d60e41a98fbb104bfcd52017975 Mon Sep 17 00:00:00 2001 From: Roger Berlind Date: Fri, 15 May 2020 16:33:27 -0400 Subject: [PATCH] replace clean_image_name with clean_resource_name The change was mostly made except in one example for Google --- website/pages/docs/templates/engine.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/docs/templates/engine.mdx b/website/pages/docs/templates/engine.mdx index 1b4c667d8..8c61a4899 100644 --- a/website/pages/docs/templates/engine.mdx +++ b/website/pages/docs/templates/engine.mdx @@ -173,7 +173,7 @@ Here is a full list of the available functions for reference. This engine does not guarantee that the final image name will match the regex; it will not truncate your name if it exceeds 63 characters, and it will not validate that the beginning and end of the engine's output are - valid. For example, `"image_name": {{isotime | clean_image_name}}"` will + valid. For example, `"image_name": {{isotime | clean_resource_name}}"` will cause your build to fail because the image name will start with a number, which is why in the above example we prepend the isotime with "mybuild".