Old images / builds left-over on Docker Hub
The CI process builds and publishes docker images for each change to CI. Most of these builds are not useful after a week or two and therefore may be thrown away.
Steps to reproduce
- Goto DockerHub for PCMT
- Notice the builds (those ending in
shaNNNNNNNN) that are over a week old
What is the current bug behavior?
Old builds are kept forever
What is the expected correct behavior?
After 2 weeks old builds are thrown away - only those that end in
Relevant logs and/or screenshots
Run a scheduled CI task to use the Docker Registry v2 API to find and remove old tags.