Nubiecloud Docs
Builds

Automatic builds (BuildConfiguration)

Configure the automatic build of a repository — strategy, monorepo, push/tag/PR triggers, branch and path filters, automatic deployment.

A build configuration (BuildConfiguration) describes how and when Nubiecloud builds an image from a repository. This is what turns every git push into a new image — with no manual step.

💡 A single repository can have several configurations (for example frontend and backend in a monorepo), each with its own rules.

Build parameters

FieldDefaultRole
Namename of the configuration (e.g. backend)
Default configurationnothe configuration used by default for this repository
Strategydockerfiledockerfile or buildpack
Source folder.subfolder to build (monorepo)
Dockerfile path./Dockerfilelocation of the Dockerfile
Builder imageBuildpacks build image (buildpack strategy)

Resulting image

FieldDefaultRole
Image namerepository namecustom name for the image
Tag patternlateste.g. latest, {branch}, {sha}, {branch}-{date}-{sha}
Build variablesvariables/arguments available during the build

The variables available in the tag pattern are {branch}, {sha}, {date} and {name} (the name of the build configuration).

⚠️ With automatic builds enabled, the pattern must contain {sha} and {date}. Otherwise the configuration is rejected. The reason: a reused tag (latest) is ambiguous — there is no way to know which version is actually running, nor to go back to the previous one. An immutable tag such as {branch}-{date}-{sha} identifies a commit unambiguously and makes rollback reliable.

💡 Monorepo: add {name} to the pattern to tell each configuration's images apart (e.g. {name}-{branch}-{date}-{sha}).

Automatic triggers

FieldDefaultTriggers a build on…
Automatic build enabledno(master switch)
On pushyesa git push
On tagnothe creation of a tag
On pull requestnothe opening/update of a PR

Filters

To build only what matters:

FilterExampleEffect
Branch filtermain,develop or feature/*build only these branches
Path filterfrontend/**,shared/**build only if these paths change (ideal for monorepos)

💡 Monorepo: combine Source folder (services/api), Path filter (services/api/**) and a dedicated Image name to build each service independently.

Automatic deployment (optional)

FieldDefaultRole
Auto-deploy enablednodeploy automatically after a successful build
Target environmentthe environment to deploy into

Once enabled, a push triggers: build → image → deployment into the chosen environment, hands-free.

See also

On this page