kartoza / docker-postgis

Dockerfile for postgis
GNU General Public License v2.0
660 stars 313 forks source link

Fix publishing workflows in dockerhub #489

Closed NyakudyaA closed 4 weeks ago

NyakudyaA commented 1 month ago

Feature description

Currently the workflows allow publishing the following image tags

Each time a PR is merged, we are always updating the kartoza/postgis:17-3.5 image, this is not ideal especially for people who use these in production

Additional context

Solution

We need to adjust the action to be able to do the following

Publish the following tags and updates

New version of postgis

Update of existing tag i.e 17-3.5

When a PR is merged we need to check if kartoza/postgis:17-3.5 already exists, if so we skip updating it but only update the following

Only the kartoza/postgis:17-3.5 - should be updated only if there is a bug or any security updates