Skip to content

Commit

Permalink
feature: matrix.names
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Nov 29, 2023
1 parent a89259e commit da27044
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dockerfiles:
- 'dockerfiles/debian-archive/Dockerfile'
- 'dockerfiles/centos-7/Dockerfile'
- 'dockerfiles/debian-develop/Dockerfile'
- 'dockerfiles/debian-next-release/Dockerfile'
names: [debian-archive, centos-7, debian-develop, debian-next-release]
dockerfiles: [dockerfiles/debian-archive/Dockerfile,
dockerfiles/centos-7/Dockerfile,
dockerfiles/debian-develop/Dockerfile,
dockerfiles/debian-next-release/Dockerfile]
steps:
- uses: actions/checkout@v2
- name: Dockerfile ${{ matrix.dockerfiles }} Test
- name: Dockerfile ${{ matrix.names }} Test
run: |
docker build -f ${{ matrix.dockerfiles }} .
docker run ${{ matrix.dockerfiles }}
docker run ${{ matrix.names }}

0 comments on commit da27044

Please sign in to comment.