Skip to content

Commit

Permalink
Rename pdns dir to pdns-mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
pschiffe committed Jan 2, 2024
1 parent 2b264c1 commit 84129e9
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "docker"
directory: "/pdns"
directory: "/pdns-mysql"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/docker-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,45 +46,45 @@ 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
uses: actions/checkout@v4
- 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
uses: actions/checkout@v4
- 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
## Docker Compose

Included ansible playbook can be used to build and run the containers from this repo. Run it with:
Included docker compose file contains example configuration of how to use these containers:
```
ansible-playbook ansible-playbook.yml
docker-compose up -d -f docker-compose-mysql.yml
```

## docker-compose.yml
## Ansible playbook

Included docker compose file contains example configuration of how to use these containers:
Included ansible playbook can be used to build and run the containers from this repo. Run it with:
```
docker-compose up -d
ansible-playbook ansible-playbook-mysql.yml
```
4 changes: 2 additions & 2 deletions ansible-playbook.yml → ansible-playbook-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
force_source: true
build:
pull: true
path: ./pdns
path: ./pdns-mysql
tags:
- pdns

Expand All @@ -120,7 +120,7 @@
force_source: true
build:
pull: true
path: ./pdns
path: ./pdns-mysql
dockerfile: Dockerfile.alpine
tags:
- pdns
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 84129e9

Please sign in to comment.