I want to run test against distros that are not available as GA runners. In my case, containers are fine.
How I describe a build matrix with containers?
Here an example using four different docker images
name: ci
jobs:
job:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["ubuntu:bionic", "fedora:31", "opensuse/leap:42.3", "centos8"]
container:
image: ${{ matrix.container }}
steps:
- name: checkout
uses: actions/checkout@v1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With