Summary
Set up GitHub Actions workflow to automatically publish Docker images to Docker Hub:
latest tag on every push to main
- Version tag (e.g.,
v1.2.3) on GitHub release tags
Proposed solution
Create .github/workflows/docker-publish.yml with Job
Additional context
Usage after implementation:
# Always latest from main
docker pull selfpatch/sovd_web_ui:latest
# Specific version
docker pull selfpatch/sovd_web_ui:1.2.3
# Run
docker run -p 8080:80 selfpatch/sovd_web_ui:latest