nowcommunity / nowdatabase

Rebuild of the nowdatabase application for luomus
MIT License
3 stars 1 forks source link

Deployment-pipeline: deleting old images #157

Open ShootingStar91 opened 1 week ago

ShootingStar91 commented 1 week ago

The build-workflow has jobs for deleting the old images from the GitHub container registry. I configured it to keep about 3-5 latest staging & production images. However, on other type of images (prod maybe) it failed for some reason, so I commented it away. The job was identical to the other type, so I don't know what was wrong. Recently it failed anyways due to not finding the action even though that hadn't been changed recently. So I don't know what is up with that but just for info, that it's possible and probably a good idea to automatize deletion of old images so you don't hit some data limits for the registry.