This commit is contained in:
+2
-2
@@ -48,11 +48,11 @@ main() {
|
||||
|
||||
# 6. Regenerate plugin source files
|
||||
# CoreDNS uses go generate (via Makefile) to rebuild plugin glue code. [web:20][web:26]
|
||||
docker run --rm -it \
|
||||
docker run --rm \
|
||||
--user "$(id -u):$(id -g)" \
|
||||
-v "$PWD":"$PWD" \
|
||||
-w "$PWD" \
|
||||
golang:latest make gen || go generate ./...
|
||||
golang:latest bash -c "make gen || go generate ./..."
|
||||
|
||||
# 7. go mod replace plugin path to the cloned action repo
|
||||
# This assumes the plugin lives at github.com/doubleu-labs/coredns-netbox-plugin-dns in your repo. [web:16][web:23]
|
||||
|
||||
Reference in New Issue
Block a user