meta: add CI to build debian package (#1)
Build Coredns with netboxdns plugin / build (push) Successful in 4s

This change adds a CI job that builds the latest version of coredns with this plugin installed and uploads it to the gitea package registry. The package version is calculated from the coredns version and the current timestamp (to the minute).

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2025-12-24 07:36:35 +00:00
parent 05c3b0ff0b
commit 71b248cf34
2 changed files with 174 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Build Coredns with netboxdns plugin
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Restore build state
uses: actions/cache/restore@v4
with:
path: .build-state
key: coredns-netboxdns-${{ runner.os }}
- name: Build
env:
CI_REGISTRY_USER: ${{ secrets.CI_REGISTRY_USER }}
CI_REGISTRY_PASSWORD: ${{ secrets.CI_REGISTRY_PASSWORD }}
run: ./ci/build.sh
- name: Save build metadata
uses: actions/cache/save@v4
with:
path: .build-state
key: coredns-netboxdns-${{ runner.os }}