Updated
On this page
Docker pipeline that builds container images, authenticates to a registry via username/password credentials, and pushes tagged images.
#rlsbl.pipelines.docker
#rlsbl.pipelines.docker
Docker pipeline that builds container images, authenticates to a registry via username/password credentials, and pushes tagged images.
#DockerPipeline
Pipeline that builds and pushes Docker images to a container registry.
Requires image and registry keys in the pipeline config dict.
#template_dir
python
def template_dir(self) -> str | NoneReturn the Docker CI templates directory.
#template_mappings
python
def template_mappings(self, ctx) -> list[dict[str, str]]Return the Docker publish workflow mapping.
#publish
python
def publish(self, dir_path: str, version: str, ctx) -> NoneBuild and push Docker image, skipping :latest for pre-release versions.
#_publish_command
python
def _publish_command(self, dir_path: str, version: str, username: str, password: str) -> NoneBuild, tag, and push the Docker image to the configured registry.