You've already forked bind9-docker
Compare commits
12 Commits
ad535d02a1
...
master
Author | SHA1 | Date | |
---|---|---|---|
29c13f9641 | |||
1d310d4442
|
|||
b049d8ecb3 | |||
1273291391
|
|||
a84f7e2a15 | |||
d185b2f84b
|
|||
020a8ab6b7
|
|||
0f23a43b2b
|
|||
9e9921bbf7
|
|||
6b86b62d63
|
|||
6509829991
|
|||
7df84f42a4
|
@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v19.1.0
|
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
||||||
with:
|
with:
|
||||||
globs: '**/*.md'
|
globs: '**/*.md'
|
||||||
|
@ -6,39 +6,14 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push-arm64:
|
|
||||||
runs-on: ubuntu-latest-arm64
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4.2.2
|
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
|
||||||
|
|
||||||
- uses: docker/login-action@v3.4.0
|
|
||||||
with:
|
|
||||||
registry: git.cryptic.systems
|
|
||||||
username: ${{ github.repository_owner }}
|
|
||||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and push image
|
|
||||||
run: |
|
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
|
||||||
|
|
||||||
docker buildx build \
|
|
||||||
--file Dockerfile \
|
|
||||||
--platform linux/arm64 \
|
|
||||||
--provenance false \
|
|
||||||
--push \
|
|
||||||
--tag git.cryptic.systems/volker.raschek/bind9:${TAG}-arm64 \
|
|
||||||
.
|
|
||||||
|
|
||||||
push-amd64:
|
push-amd64:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
- uses: docker/setup-qemu-action@v3.6.0
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
- uses: docker/login-action@v3.4.0
|
- uses: docker/login-action@v3.5.0
|
||||||
with:
|
with:
|
||||||
registry: git.cryptic.systems
|
registry: git.cryptic.systems
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -53,31 +28,9 @@ jobs:
|
|||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--provenance false \
|
--provenance false \
|
||||||
--push \
|
--push \
|
||||||
--tag git.cryptic.systems/volker.raschek/bind9:${TAG}-amd64 \
|
--tag git.cryptic.systems/volker.raschek/bind9:${TAG} \
|
||||||
.
|
.
|
||||||
|
|
||||||
push-manifest:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
- push-arm64
|
|
||||||
- push-amd64
|
|
||||||
steps:
|
|
||||||
- uses: docker/login-action@v3.4.0
|
|
||||||
with:
|
|
||||||
registry: git.cryptic.systems
|
|
||||||
username: ${{ github.repository_owner }}
|
|
||||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
|
||||||
|
|
||||||
- name: Create and push manifest
|
|
||||||
run: |
|
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
|
||||||
|
|
||||||
docker manifest create git.cryptic.systems/volker.raschek/bind9:${TAG} \
|
|
||||||
--amend git.cryptic.systems/volker.raschek/bind9:${TAG}-amd64 \
|
|
||||||
--amend git.cryptic.systems/volker.raschek/bind9:${TAG}-arm64
|
|
||||||
|
|
||||||
docker manifest push git.cryptic.systems/volker.raschek/bind9:${TAG}
|
|
||||||
|
|
||||||
sync-to-hub-docker-io:
|
sync-to-hub-docker-io:
|
||||||
needs:
|
needs:
|
||||||
- push-manifest
|
- push-manifest
|
||||||
|
@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: peter-evans/dockerhub-description@v4.0.2
|
- uses: peter-evans/dockerhub-description@v4.0.2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||||
|
@ -19,7 +19,7 @@ docker run \
|
|||||||
--publish 53:53/tcp \
|
--publish 53:53/tcp \
|
||||||
--publish 53:53/udp \
|
--publish 53:53/udp \
|
||||||
--volume <config/path>:/etc/bind \
|
--volume <config/path>:/etc/bind \
|
||||||
volkerraschek/bind9
|
git.cryptic.systems/volker.raschek/bind9
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build image manually
|
## Build image manually
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
bind9:
|
bind9:
|
||||||
image: volkerraschek/bind9-docker:latest
|
image: git.cryptic.systems/volker.raschek/bind9-docker:latest
|
||||||
ports:
|
ports:
|
||||||
- 10053:53/tcp
|
- 10053:53/tcp
|
||||||
- 10053:53/udp
|
- 10053:53/udp
|
||||||
|
Reference in New Issue
Block a user