Files
coredns-netbox-plugin-dns/.gitea/workflows/build-release.yml
T
restitux 71b248cf34
Build Coredns with netboxdns plugin / build (push) Successful in 4s
meta: add CI to build debian package (#1)
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
2025-12-24 07:36:35 +00:00

30 lines
688 B
YAML

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 }}