Skip to content

Commit d88eaec

Browse files
authored
Create docker-image.yml
1 parent dc7f4e9 commit d88eaec

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
env:
9+
PYTHON_VERSION: 21
10+
jobs:
11+
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
working-directory: app
18+
19+
20+
steps:
21+
- name: checkout
22+
uses: actions/checkout@v4
23+
- name: Set up Python
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: ${{ env.PYTHON_VERSION }}
27+
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install -r requirements.txt
32+

0 commit comments

Comments
 (0)