How long can a build take, and what's available during it?

Builds run in a Linux environment and time out after 30 minutes. Your service's environment variables are available during the build as build arguments, but secrets are deliberately runtime-only so they can't leak into build logs or image layers — if a build step needs a credential, use an environment variable. Docker-in-Docker is supported, so tools like TestContainers work.

Read more about this in the documentation

Related questions

Still need help?

If this didn't answer your question, our team is one message away.

Contact support