mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Rename pdns dir to pdns-mysql
This commit is contained in:
parent
2b264c149e
commit
84129e9f73
12 changed files with 42 additions and 42 deletions
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/pdns"
|
||||
directory: "/pdns-mysql"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
- package-ecosystem: "docker"
|
||||
|
|
24
.github/workflows/docker-image-pr.yml
vendored
24
.github/workflows/docker-image-pr.yml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
|||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_recursor_alpine.outputs.digest }}
|
||||
|
||||
test-pdns-latest:
|
||||
test-pdns-mysql-latest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out Repo
|
||||
|
@ -54,19 +54,19 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build PDNS latest
|
||||
id: docker_build_pdns_latest
|
||||
- name: Build PDNS mysql latest
|
||||
id: docker_build_pdns_mysql_latest
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: false
|
||||
tags: pdns-mysql:latest
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build_pdns_mysql_latest.outputs.digest }}
|
||||
|
||||
test-pdns-alpine:
|
||||
test-pdns-mysql-alpine:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out Repo
|
||||
|
@ -74,17 +74,17 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build PDNS alpine
|
||||
id: docker_build_pdns_alpine
|
||||
- name: Build PDNS mysql alpine
|
||||
id: docker_build_pdns_mysql_alpine
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile.alpine
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: false
|
||||
tags: pdns-mysql:alpine
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns_alpine.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build_pdns_mysql_alpine.outputs.digest }}
|
||||
|
||||
test-pdns-admin:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -33,12 +33,12 @@ jobs:
|
|||
id: vars
|
||||
run: echo ::set-output name=version::${GITHUB_REF##*-}
|
||||
|
||||
- name: Build and push PDNS
|
||||
- name: Build and push PDNS mysql
|
||||
id: docker_build_pdns
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
|
@ -33,12 +33,12 @@ jobs:
|
|||
id: vars
|
||||
run: echo ::set-output name=version::${GITHUB_REF##*-}
|
||||
|
||||
- name: Build and push PDNS
|
||||
- name: Build and push PDNS mysql
|
||||
id: docker_build_pdns
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
24
.github/workflows/docker-image.yml
vendored
24
.github/workflows/docker-image.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
|||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_recursor_alpine.outputs.digest }}
|
||||
|
||||
build-pdns-latest:
|
||||
build-pdns-mysql-latest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out Repo
|
||||
|
@ -77,20 +77,20 @@ jobs:
|
|||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
- name: Build and push PDNS latest
|
||||
id: docker_build_pdns_latest
|
||||
- name: Build and push PDNS mysql latest
|
||||
id: docker_build_pdns_mysql_latest
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:latest
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build_pdns_mysql_latest.outputs.digest }}
|
||||
|
||||
build-pdns-alpine:
|
||||
build-pdns-mysql-alpine:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out Repo
|
||||
|
@ -105,18 +105,18 @@ jobs:
|
|||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
- name: Build and push PDNS alpine
|
||||
id: docker_build_pdns_alpine
|
||||
- name: Build and push PDNS mysql alpine
|
||||
id: docker_build_pdns_mysql_alpine
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
context: ./pdns-mysql
|
||||
file: ./pdns-mysql/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:alpine
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns_alpine.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build_pdns_mysql_alpine.outputs.digest }}
|
||||
|
||||
build-pdns-admin:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
18
README.md
18
README.md
|
@ -178,16 +178,16 @@ docker run -d -p 80:8080 -p 443:8443 -p 443:8443/udp --name pdns-admin \
|
|||
pschiffe/pdns-admin
|
||||
```
|
||||
|
||||
## ansible-playbook.yml
|
||||
|
||||
Included ansible playbook can be used to build and run the containers from this repo. Run it with:
|
||||
```
|
||||
ansible-playbook ansible-playbook.yml
|
||||
```
|
||||
|
||||
## docker-compose.yml
|
||||
## Docker Compose
|
||||
|
||||
Included docker compose file contains example configuration of how to use these containers:
|
||||
```
|
||||
docker-compose up -d
|
||||
docker-compose up -d -f docker-compose-mysql.yml
|
||||
```
|
||||
|
||||
## Ansible playbook
|
||||
|
||||
Included ansible playbook can be used to build and run the containers from this repo. Run it with:
|
||||
```
|
||||
ansible-playbook ansible-playbook-mysql.yml
|
||||
```
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
force_source: true
|
||||
build:
|
||||
pull: true
|
||||
path: ./pdns
|
||||
path: ./pdns-mysql
|
||||
tags:
|
||||
- pdns
|
||||
|
||||
|
@ -120,7 +120,7 @@
|
|||
force_source: true
|
||||
build:
|
||||
pull: true
|
||||
path: ./pdns
|
||||
path: ./pdns-mysql
|
||||
dockerfile: Dockerfile.alpine
|
||||
tags:
|
||||
- pdns
|
Loading…
Reference in a new issue