30 lines
701 B
YAML
30 lines
701 B
YAML
name: Build Coredns with netboxdns plugin
|
|
on: [workflow_dispatch]
|
|
|
|
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 }}
|
|
|
|
|