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:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v19.1.0
|
||||
- uses: actions/checkout@v5.0.0
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
|
@ -6,39 +6,14 @@ on:
|
||||
- master
|
||||
|
||||
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:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: actions/checkout@v5.0.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:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
@ -53,31 +28,9 @@ jobs:
|
||||
--platform linux/amd64 \
|
||||
--provenance false \
|
||||
--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:
|
||||
needs:
|
||||
- push-manifest
|
||||
|
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: actions/checkout@v5.0.0
|
||||
- uses: peter-evans/dockerhub-description@v4.0.2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||
|
@ -19,7 +19,7 @@ docker run \
|
||||
--publish 53:53/tcp \
|
||||
--publish 53:53/udp \
|
||||
--volume <config/path>:/etc/bind \
|
||||
volkerraschek/bind9
|
||||
git.cryptic.systems/volker.raschek/bind9
|
||||
```
|
||||
|
||||
## Build image manually
|
||||
|
@ -1,7 +1,7 @@
|
||||
version: "3"
|
||||
services:
|
||||
bind9:
|
||||
image: volkerraschek/bind9-docker:latest
|
||||
image: git.cryptic.systems/volker.raschek/bind9-docker:latest
|
||||
ports:
|
||||
- 10053:53/tcp
|
||||
- 10053:53/udp
|
||||
|
Reference in New Issue
Block a user