You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v4l2rtspserver/.github/workflows/docker.yml

29 lines
682 B
YAML

name: C/C++ CI docker
on: [push]
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
dockerfile: Dockerfile.arm64
label: arm64
- os: ubuntu-latest
dockerfile: Dockerfile.rpi
label: armv6l
- os: ubuntu-latest
dockerfile: Dockerfile
label: amd64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build an image from Dockerfile
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker build -t docker.io/${{ github.repository }}:${{ matrix.label }} -f ${{ matrix.dockerfile }} .