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 (WithSecretVariable under the GITHUB_TOKEN name) plus a git config URL …
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 (WithSecretVariable under the GITHUB_TOKEN name) plus a git config URL …