diff --git a/ci/build.sh b/ci/build.sh index 2d18644..bb13ee2 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -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]