Skip to content

Commit

Permalink
testing the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
arushsoel authored Jul 19, 2024
1 parent c0ee1e9 commit 5fb48fd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/matrix-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Exploring matrix in Github Action
on:
push:
workflow_dispatch:

jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, windows-latest]
images: [hello-world, alpine]
runs-on: ${{ matrix.os}}
steps:
- name: Docker info
run: docker info
- name: Docker run on ${{ matrix.images}}
run: docker run ${{ matrix.images}}

0 comments on commit 5fb48fd

Please sign in to comment.