packit / .github

Workflow (Github Action) templates
MIT License
0 stars 3 forks source link

build-and-push: Add a unique tag #3

Closed jpopelka closed 3 years ago

jpopelka commented 3 years ago

This prevents older images from being garbage collected from the registry once a newer stg/prod image is built.

Fixes #2

jpopelka commented 3 years ago

and then in the cron job ...

there would need to be some authentication and we'd have it split into 2 places ... but thanks, any ideas are always welcome

do we actually need the date in there?

no, we don't, I put it there so I can see in Quay's list of tags when the tag was created, but Quay shows how old a tag is anyway, so ... removed