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

add github workflow to build and push to docker hub #1

Open
iosefa opened this issue Jan 21, 2025 · 0 comments
Open

add github workflow to build and push to docker hub #1

iosefa opened this issue Jan 21, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@iosefa
Copy link

iosefa commented Jan 21, 2025

Add GitHub actions to publish to Docker Hub

Problem
There is no automated deployment process for pushing images to Docker Hub. This requires manual steps to build, tag, and publish Docker images, leading to potential inconsistencies and delays.

Improvement
Automate the process of building and publishing Docker images to Docker Hub using GitHub Actions. The workflow should:

  1. Trigger on commits to specific branches (e.g., main or release).
  2. Build the Docker image.
  3. Tag the image appropriately (e.g., using the Git commit SHA or semantic versioning).
  4. Push the image to Docker Hub.

Look at the proposed GH Action for pgRouting and the existing for PostGIS for inspiration.

Alternatives

  1. Manual Deployment
  • Pros: No additional setup required.
  • Cons: Error-prone, time-consuming, and inconsistent.
  1. Third-Party CI/CD Tools
  • Pros: Tools like Jenkins, CircleCI, or GitLab CI/CD can achieve the same result.
  • Cons: Adds complexity and external dependencies when GitHub Actions is already integrated into the project.
@iosefa iosefa added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant