Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Copy and Rename command should not add a "-01" if the image name already ends with a number #274
I tried to copy an image named "Iceberg-01" and the default named I got was "Iceberg-01-01". I would have expected an "Iceberg-02".
We can check if the name ends with numeric characters and increment it in that case. (Or maybe a character $- followed by numeric characters?)