Freight alias pattern configure #3671
Replies: 1 comment
-
Regex is for parsing a string, not building. You're looking for some kind of template. It's been requested a time or two before, but I've never seen a well-thought-out proposal for how something like this would work. People have generally proposed things like, "make the alias the same as the image tag," which ignores that a piece of Freight can contain multiple artifacts. For the sake of illustration, you could have one piece of Freight having image tagged "a" and commit "x" and a second with image tagged "a" and commit "y". You couldn't alias both of those as "a". You would still need some random or unique element in every alias in order to prevent collisions. Internally, this isn't a priority, so movement on this would really require someone from the community to step up with a comprehensive proposal that the maintainers are comfortable endorsing and probably also requires someone from the community willing to do the work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I want to put the alias of freight base on some regex pattern that configure in Warehouses or whatever. Is there any way to do it?
Beta Was this translation helpful? Give feedback.
All reactions