This template aims at making it easier to configure your projects that use Docker and Python (for example, for testing) to work with Github Actions and support a CI workflow.
It uses Copier to keep your projects updated with a unified GH Actions structure and configuration.
- Docker automated builds with Github Actions
- Python project structure for Pytest with Poetry (optional)
- Install Copier
- Enter your project folder:
cd my-project
- Make it a git repo:
git init
- Run
copier copy https://github.com/Tecnativa/image-template.git .
- Answer questions
- Commit:
git commit -am 'Apply image template'
(repeat if some pre-commit configuration you have (e.g. https://github.com/copier-org/autopretty) reformats anything and makes the update fail)
- Enter your project folder:
cd my-project
- Update:
copier -a .copier-answers.image-template.yml update
- Answer questions, if anything changed
- Commit:
git commit -am 'Update image template'
(repeat if pre-commit reformats anything and makes the update fail)