We are already on PDNS version 4.5

resolves: #65
This commit is contained in:
pschff 2021-12-27 22:18:26 +01:00
parent 283f684c9c
commit 632a190a49
No known key found for this signature in database
GPG key ID: F2A18AC34A008397
10 changed files with 162 additions and 6 deletions

View file

@ -0,0 +1,39 @@
name: Docker Image CI pdns-mysql 4.5 alpine
on:
push:
tags: [ 'pdns-mysql-alpine-4.5' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push PDNS
id: docker_build_pdns
uses: docker/build-push-action@v2
with:
context: ./pdns
file: ./pdns/Dockerfile.alpine
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.5-alpine
- name: Image digest
run: echo ${{ steps.docker_build_pdns.outputs.digest }}

View file

@ -0,0 +1,39 @@
name: Docker Image CI pdns-mysql 4.5 latest
on:
push:
tags: [ 'pdns-mysql-fedora-4.5' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push PDNS
id: docker_build_pdns
uses: docker/build-push-action@v2
with:
context: ./pdns
file: ./pdns/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.5
- name: Image digest
run: echo ${{ steps.docker_build_pdns.outputs.digest }}

View file

@ -0,0 +1,39 @@
name: Docker Image CI pdns-recursor 4.5 alpine
on:
push:
tags: [ 'pdns-recursor-alpine-4.5' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push PDNS Recursor
id: docker_build_recursor
uses: docker/build-push-action@v2
with:
context: ./pdns-recursor
file: ./pdns-recursor/Dockerfile.alpine
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:4.5-alpine
- name: Image digest
run: echo ${{ steps.docker_build_recursor.outputs.digest }}

View file

@ -0,0 +1,39 @@
name: Docker Image CI pdns-recursor 4.5 latest
on:
push:
tags: [ 'pdns-recursor-fedora-4.5' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push PDNS Recursor
id: docker_build_recursor
uses: docker/build-push-action@v2
with:
context: ./pdns-recursor
file: ./pdns-recursor/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:4.5
- name: Image digest
run: echo ${{ steps.docker_build_recursor.outputs.digest }}

View file

@ -100,7 +100,7 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- PDNS_ADMIN_SQLA_DB_PASSWORD='my-secret-pw'
- PDNS_VERSION=4.4
- PDNS_VERSION=4.5
- PDNS_API_KEY=secret
depends_on:
- mariadb

View file

@ -58,7 +58,7 @@ spec:
- name: PDNS_API_URL
value: "http://master-api-pdns:8081/"
- name: PDNS_VERSION
value: "4.4"
value: "4.5"
- name: PDNS_API_KEY
valueFrom:
secretKeyRef:

View file

@ -13,7 +13,7 @@ RUN mkdir -p /etc/pdns-recursor/api.d \
&& mkdir -p /run/pdns-recursor \
&& chown -R pdns-recursor: /run/pdns-recursor
ENV VERSION=4.4 \
ENV VERSION=4.5 \
PDNS_setuid=pdns-recursor \
PDNS_setgid=pdns-recursor \
PDNS_daemon=no

View file

@ -12,7 +12,7 @@ RUN mkdir -p /etc/pdns/api.d \
&& mkdir -p /var/run/pdns-recursor \
&& chown -R recursor: /var/run/pdns-recursor
ENV VERSION=4.4 \
ENV VERSION=4.5 \
PDNS_setuid=recursor \
PDNS_setgid=recursor \
PDNS_daemon=no

View file

@ -12,7 +12,7 @@ RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf \
RUN pip3 install --no-cache-dir envtpl
ENV VERSION=4.4 \
ENV VERSION=4.5 \
PDNS_guardian=yes \
PDNS_setuid=pdns \
PDNS_setgid=pdns \

View file

@ -10,7 +10,7 @@ RUN apk add --no-cache \
RUN pip3 install --no-cache-dir envtpl
ENV VERSION=4.4 \
ENV VERSION=4.5 \
PDNS_guardian=yes \
PDNS_setuid=pdns \
PDNS_setgid=pdns \