File tree 2 files changed +11
-5
lines changed 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
2
2
3
3
on :
4
4
push :
5
- branches : [ " main" ]
5
+ branches : [ main ]
6
6
pull_request :
7
- branches : [ " main" ]
7
+ branches : [ main ]
8
8
9
9
jobs :
10
10
13
13
runs-on : ubuntu-latest
14
14
15
15
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 .
17
23
- 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 20
20
<br />
21
21
<div align =" center " >
22
22
23
- <h1 align =" center " > Cookiecutter Python Project Template</h3 >
23
+ <h1 align =" center " > Python Project Template</h3 >
24
24
25
25
<p align =" center " >
26
26
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