--- /dev/null
+---
+name: 'Build Docker images'
+
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: '0 22 * * 3'
+
+jobs:
+ build:
+ name: docker build
+ # on a ubuntu-20.04 VM
+ runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ product: ['auth', 'recursor', 'dnsdist']
+ steps:
+ - uses: actions/checkout@v2.3.4
+ with:
+ fetch-depth: 5
+ submodules: recursive
+ # this builds packages and runs our unit test (make check)
+ - run: docker build --rm -t powerdns-${{ matrix.product }} -f Dockerfile-${{ matrix.product }} .