Compare commits

..

1 Commits

Author SHA1 Message Date
ad535d02a1 fix(ci): replace drone with gitea actions
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 5s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 4s
Release / push-arm64 (push) Failing after 1m5s
Release / push-amd64 (push) Successful in 5m7s
Release / push-manifest (push) Has been skipped
Release / sync-to-hub-docker-io (push) Has been skipped
2025-05-13 18:17:04 +02:00
5 changed files with 56 additions and 9 deletions

View File

@ -16,7 +16,7 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v5.0.0 - uses: actions/checkout@v4.2.2
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0 - uses: DavidAnson/markdownlint-cli2-action@v19.1.0
with: with:
globs: '**/*.md' globs: '**/*.md'

View File

@ -6,14 +6,39 @@ 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@v5.0.0 - uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0 - uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1 - uses: docker/setup-buildx-action@v3.10.0
- uses: docker/login-action@v3.5.0 - uses: docker/login-action@v3.4.0
with: with:
registry: git.cryptic.systems registry: git.cryptic.systems
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
@ -28,9 +53,31 @@ jobs:
--platform linux/amd64 \ --platform linux/amd64 \
--provenance false \ --provenance false \
--push \ --push \
--tag git.cryptic.systems/volker.raschek/bind9:${TAG} \ --tag git.cryptic.systems/volker.raschek/bind9:${TAG}-amd64 \
. .
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

View File

@ -13,7 +13,7 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v5.0.0 - uses: actions/checkout@v4.2.2
- 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 }}

View File

@ -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 \
git.cryptic.systems/volker.raschek/bind9 volkerraschek/bind9
``` ```
## Build image manually ## Build image manually

View File

@ -1,7 +1,7 @@
version: "3" version: "3"
services: services:
bind9: bind9:
image: git.cryptic.systems/volker.raschek/bind9-docker:latest image: volkerraschek/bind9-docker:latest
ports: ports:
- 10053:53/tcp - 10053:53/tcp
- 10053:53/udp - 10053:53/udp