File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Docker Image CI
22
33on :
44 push :
5- branches : [ " main" ]
5+ branches : [ main ]
66 pull_request :
7- branches : [ " main" ]
7+ branches : [ main ]
88
99jobs :
1010
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v2
17+ - name : Install dependencies
18+ run : |
19+ apt-get update && apt-get install -y python3-pip
20+ pip3 install cookiecutter
21+ - name : Generate project files with cookiecutter
22+ run : cookiecutter --no-input .
1723 - name : Build the Docker image
18- run : docker build . --file Dockerfile --tag test -image:$(date +%s)
24+ run : cd python-project-example && docker build . --file Dockerfile --tag my -image-name :$(date +%s)
Original file line number Diff line number Diff line change 2020<br />
2121<div align =" center " >
2222
23- <h1 align =" center " > Cookiecutter Python Project Template</h3 >
23+ <h1 align =" center " > Python Project Template</h3 >
2424
2525 <p align =" center " >
2626 Cookiecutter for Python template with some awesome tools to quickstart any Python project.
You can’t perform that action at this time.
0 commit comments