This document outlines the development workflow for the Dockerfile-Example project.
main- Production-ready codedevelop- Integration branch for featuresfeature/*- Feature development branchesfix/*- Bug fix branches
git checkout develop
git pull origin develop
git checkout -b feature/your-feature-name- Make small, atomic commits
- Test each Docker example locally
- Ensure documentation is updated
# Test individual examples
cd examples/beginner/01-hello-world
docker build -t test-image .
# Run comprehensive tests
./scripts/build-and-test.shgit add .
git commit -m "feat: add new multi-stage example"
git push origin feature/your-feature-namefeat:- New featurefix:- Bug fixdocs:- Documentation changesrefactor:- Code refactoringtest:- Adding testschore:- Maintenance tasks
- Create pull request to
develop - Ensure all tests pass
- Request review from maintainers
- Address feedback
- Merge when approved
- Merge
developtomain - Tag release with version
- Update CHANGELOG.md
- Deploy documentation