GoogleCloudPlatform / docker-credential-gcr

A Docker credential helper for GCR users
https://gcr.io
Apache License 2.0
284 stars 91 forks source link

Fix for version handling #139

Closed sudo-bmitch closed 11 months ago

sudo-bmitch commented 1 year ago

The regex for checking if the version string is valid is unfortunately broken, so it falls back to the zero value in the token user. And if the image is built from a go install command, the version will have a "v" prefix that needs to be removed.