Merge pull request #9240 from rberlind/master

replace clean_image_name with clean_resource_name
This commit is contained in:
Megan Marsh 2020-05-15 14:17:48 -07:00 committed by GitHub
commit c6ca83bf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 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 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 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, 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". which is why in the above example we prepend the isotime with "mybuild".