drone-docker icon indicating copy to clipboard operation
drone-docker copied to clipboard

Add a flag for "normalizing" docker tags to contain only valid characters

Open decarboxy opened this issue 5 years ago • 1 comments

We sometimes use git branch names as docker tag names. git branch names can have / characters, while docker tags cannot. This PR adds a new boolean option tags.normalize which replaces all ascii characters that cannot exist in a docker tag with -. The flag is off by default.

decarboxy avatar Apr 21 '20 21:04 decarboxy

We could add the normalization to the plugin code, but not as part of the main function or main function file.

tboerger avatar May 18 '20 07:05 tboerger