monasca / pr-bot

Automatic version checker bot
Apache License 2.0
6 stars 1 forks source link

Determine current Docker version from latest tag #7

Closed timothyb89 closed 7 years ago

timothyb89 commented 7 years ago

latest can be treated as the "recommended promoted artifact", so when possible we should try to use any other (more specific) tags that resolve to the same hash.

Since many tags can refer to the same hash, we'll need some heuristic to decide which is the best / most unique. It may sound dumb, but string length might be a good metric. Otherwise we'd need to use a regex to find timestamps or something.

timothyb89 commented 7 years ago

Fixed in 524155c7008db07e96dfa4f40baf550a358a917f