Add docker_image_ci.yml
This commit is contained in:
parent
1d9370d687
commit
18e8752047
19
.github/workflows/docker_image_ci.yml
vendored
Normal file
19
.github/workflows/docker_image_ci.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Docker image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'feature/*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'feature/*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build the Docker image
|
||||
run: docker build . -f ./setup_files/Dockerfile
|
||||
@ -7,9 +7,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11"]
|
||||
python-version: ['3.9', '3.10', '3.11']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user