Skip to content
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

Fix publishing workflows in dockerhub #489

Closed
NyakudyaA opened this issue Oct 20, 2024 · 0 comments · Fixed by #488
Closed

Fix publishing workflows in dockerhub #489

NyakudyaA opened this issue Oct 20, 2024 · 0 comments · Fixed by #488

Comments

@NyakudyaA
Copy link
Collaborator

NyakudyaA commented Oct 20, 2024

Feature description

Currently the workflows allow publishing the following image tags

  • kartoza/postgis:17-3.5--v2024.10.20 > with the last date being the date the image is pushed
  • kartoza/postgis:17-3.5 - Latest version
  • kartoza/postgis:latest - We tag the latest

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

  • kartoza/postgis:17-3.5--v2024.10.20 > with the last date being the date the image is pushed
  • kartoza/postgis:17-3.5 - Latest version
  • kartoza/postgis:latest - We tag the latest

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

  • kartoza/postgis:17-3.5--v2024.10.20 > with the last date being the date the image is pushed
  • kartoza/postgis:latest - We tag the latest

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant