Skip to main content

Build and push reference

Field reference for Add a Build and push job.

Build and push fields

FieldMeaning
Job nameName of the Job. Defaults to build-and-push.
Docker file locationRead-only. The repository from the Pipeline's Code source — the Dockerfile is read from here.
Docker file path (relative)Path to the Dockerfile, relative to the repository root, e.g. Dockerfile or docker/Dockerfile.
Build context directoryDirectory passed as the Docker build context. Defaults to ..
Container registry connectionsAn existing connection from Manage credentials, or add a new one.
Registry repositoryName of the repository in the selected container registry where the image will be pushed, e.g. team-platform/my-service.
Docker build argumentOptional key/value pairs passed to docker build --build-arg. Add or remove rows as needed.

See also