platform · inferred from evidence
Dagger
A platform for building and deploying containerized applications, referenced in the context of its CLI and contributor.
- How to configure Go private module dependencies in a Dagger pipeline
Two approaches that work. Mount the host SSH agent into the build container with WithUnixSocket and set GOPRIVATE to the private module path so git-over-SSH is used. Or use a fine-grained GitHub token passed as a secret variable (WithSecret
- How to regenerate dagger.gen.go after changing module functions
Run dagger develop. It regenerates dagger.gen.go from the current module sources. This is now documented in the official docs, and the reporter confirmed the docs update resolved the question. Source: https://github.com/dagger/dagger/issue
- Docker build secrets not visible in /run/secrets when set through the Dagger CLI
Do not rely on the CLI-set secret name. Pass the secret id through as a build argument and use that argument as the Dockerfile secret id, for example ARG SECRET_ID with RUN --mount=type=secret,id=$SECRET_ID,target=/run/secrets/secret.txt. T
- How to run Dagger inside a container, for example on Kubernetes
Dagger published official guides for this: Dagger on Kubernetes, Dagger with Argo Workflows, and Dagger with Tekton, all linked in the thread by a maintainer. For Kubernetes CI usage these guides are the starting point instead of hand-rolle