Skip to content

Build Docker images #2756

Build Docker images

Build Docker images #2756

Workflow file for this run

---
name: 'Build Docker images'
on:
schedule:
- cron: '0 4 * * *'
permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
contents: read
jobs:
build:
name: docker build
if: ${{ vars.SCHEDULED_DOCKER }}
# on a ubuntu-20.04 VM
runs-on: ubuntu-20.04
strategy:
matrix:
product: ['auth', 'recursor', 'dnsdist']
steps:
- uses: actions/checkout@v3
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 }} .