You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
When having the newly introduced garbage_collector enabled, all tags older than the specified time are deleted, regardless if there are any (possible) used tags left.
This results in complete repositories that get deleted when images are not build regularly.
It would be a great help to ensure that tags that are still used are not deleted.
Using the tag parameter does not help here.
Ideas that came to my mind for this:
check if the tag was still accessed (pulled) during the specified older_than timeframe before deleting
add an option "keep_latest_x_tags" which lets you specify to always keep the newest X tags
The text was updated successfully, but these errors were encountered:
Bonko
changed the title
Avoid that garbage-collect deletes a complete repository
Avoid that garbage_collector deletes images that are still in use
Dec 7, 2018
Description
When having the newly introduced garbage_collector enabled, all tags older than the specified time are deleted, regardless if there are any (possible) used tags left.
This results in complete repositories that get deleted when images are not build regularly.
It would be a great help to ensure that tags that are still used are not deleted.
Using the
tag
parameter does not help here.Ideas that came to my mind for this:
older_than
timeframe before deletingPortus version: 2.4
The text was updated successfully, but these errors were encountered: