From: Peter van Dijk Date: Fri, 29 Jan 2021 21:28:16 +0000 (+0100) Subject: gh actions: build Docker images X-Git-Tag: dnsdist-1.6.0-alpha2~58^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10029%2Fhead;p=thirdparty%2Fpdns.git gh actions: build Docker images --- diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000000..3cbc31d6c4 --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,24 @@ +--- +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 }} .