MetaFam / TheGame

The platform that MetaGame will be played on aka MetaOS - an open source framework for running decentralized societies. Currently featuring MyMeta Profiles, Dashboard & Quests
https://metagame.wtf
Other
131 stars 78 forks source link

Remove old images from the Google Artifacts Registry once PRs are merged or new versions successfully deploy. #1783

Open metafam-service opened 1 month ago

metafam-service commented 1 month ago

What would you like to be added?

Currently we have ~300GiB of images in the Artifacts Registry costing us ~$30 / month. This will only increase as new images are created & removing old images should be a part of the GitHub Action which creates instances for pull requests.

Why is this needed?

It's an unnecessary cost since old images are never reused.

dysbulic commented 1 month ago

I wrote a script to remove all the existing images, which will significantly reduce costs while work on automating the process.