-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: delete old containers in packages #145
Conversation
1837675
to
7442a30
Compare
d08a2ca
to
4d9d50d
Compare
As far as the dry-run goes, it seems to do exactly what we want. https://github.com/9elements/firmware-action/actions/runs/8082835550/job/22084531761#step:2:62 |
FYI there are many versions right now. Most of them are useless. Untagged can be deleted right-away. Tagged, I would only keep the most important ones.
|
4d9d50d
to
8e7c64c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Should we note somewhere inside the yaml why the fork was necessary? Maybe link the PRs or issues from upstream so we can hopefully switch back to upstream at some point.
Yeah, that is a good idea. |
8e7c64c
to
05f2d97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, let's hope dry-run worked the way it was intended. :D
Needs to be rebased on top of #161 to satisfy merge queue again |
- add a step in docker-build-and-test to delete old published containers - should delete all but 'main', 'latest' and release containers - we have to use my own fork of actions/delete-package-versions at the moment to have access to 'dry-run' and 'ignore-versions-include-tags' features - [dry-run](https://github.com/actions/delete-package-versions/pull/119/commits) - [tags](actions/delete-package-versions#104) Signed-off-by: AtomicFS <[email protected]>
05f2d97
to
c169a50
Compare
actions/delete-package-versions
at the moment to have access todry-run
andignore-versions-include-tags
featuresFixes #135