TEST
Build Coredns with netboxdns plugin / build (push) Failing after -1s

This commit is contained in:
2025-12-23 23:24:03 -07:00
parent 700a67bd27
commit fea078e065
+4 -4
View File
@@ -50,8 +50,8 @@ main() {
# CoreDNS uses go generate (via Makefile) to rebuild plugin glue code. [web:20][web:26] # CoreDNS uses go generate (via Makefile) to rebuild plugin glue code. [web:20][web:26]
docker run --rm \ docker run --rm \
--user "$(id -u):$(id -g)" \ --user "$(id -u):$(id -g)" \
-v "$PWD":"$PWD" \ -v "$PWD":"/work" \
-w "$PWD" \ -w "/work" \
golang:latest bash -c make core/plugin/zplugin.go core/dnsserver/zdirectives.go golang:latest bash -c make core/plugin/zplugin.go core/dnsserver/zdirectives.go
# 7. go mod replace plugin path to the cloned action repo # 7. go mod replace plugin path to the cloned action repo
@@ -59,8 +59,8 @@ main() {
# Adjust relative path if your repo layout differs. # Adjust relative path if your repo layout differs.
docker run --rm -it \ docker run --rm -it \
--user "$(id -u):$(id -g)" \ --user "$(id -u):$(id -g)" \
-v "$PWD":"$PWD" \ -v "$PWD":"/work" \
-w "$PWD" \ -w "/work" \
golang:latest go mod edit -replace=github.com/doubleu-labs/coredns-netbox-plugin-dns="${ACTION_REPO_DIR}" golang:latest go mod edit -replace=github.com/doubleu-labs/coredns-netbox-plugin-dns="${ACTION_REPO_DIR}"
# 8. Update Go version to the latest # 8. Update Go version to the latest