Skip to main content

⚙️ Parameters

This document lists all available settings for Forge, Docker, and Node.js build processes. All parameters can be passed to the build system as NUKE parameters (command-line arguments, e.g. --param value). These can also be set via environment variables or in the .build.env.map configuration file, depending on your CI/CD setup.


🛠️ Forge (Common Settings)

These are the base parameters available to all builds. NodeParams and DockerParams both inherit from ForgeParams, so all settings below are available to Node and Docker builds as well.

VariableDescriptionDefault
RepositoryUrlThe URL of the source code repository.
NotificationsEnable/disable notifications (bool).false
ForceNotificationsForce notifications even if not required (bool).false
NotificationsWebHookUrlWebhook URL for sending notifications.
ForcePushForce push actions (bool).false
DryRunRun the build in dry-run mode (bool).false
VerbosityVerbosity level for build output (enum).Normal

🐳 Docker

Inherits all settings from Forge.

VariableDescriptionDefault
TemplatesDirDirectory path for Dockerfile templates./nuke/templates
DockerfilePath to the Dockerfile.Dockerfile
ImageTagTag for the container image.container-app
RegistryUrlRegistry URL for pushing the Docker image.
RegistryUserRegistry user name.
RegistryTokenRegistry authentication token.
CreateGitHubReleaseWhether to create a GitHub release after build (bool).false

🟩 Node.js

Inherits all settings from Forge.

VariableDescriptionDefault
ArtifactsDirDirectory path for storing build artifacts.artifacts

Example

Tell the build process to create a GitHub release (false by default):

Create .build.env.map, with:

CreateGitHubRelease=const:true

Use a NUKE parameter:

& docker run `
-e DOCKER_HOST=tcp://host.docker.internal:2375 `
-v ./:/workspace `
-it ghcr.io/the-running-dev/build-agent:latest `
docker-build --create-github-release true