testing the matrix #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |