mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
parent
283f684c9c
commit
632a190a49
10 changed files with 162 additions and 6 deletions
39
.github/workflows/docker-image-tag-pdns-alpine-45.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-pdns-alpine-45.yml
vendored
Normal 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 }}
|
39
.github/workflows/docker-image-tag-pdns-fedora-45.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-pdns-fedora-45.yml
vendored
Normal 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 }}
|
39
.github/workflows/docker-image-tag-recursor-alpine-45.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-recursor-alpine-45.yml
vendored
Normal 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 }}
|
39
.github/workflows/docker-image-tag-recursor-fedora-45.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-recursor-fedora-45.yml
vendored
Normal 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 }}
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue