Skip to content

Docker

Build and publish Docker images.

Supported backends

  • [x] Native Docker (currently does not perform auth for you)
  • x[] (currently does not perform auth for you)
  • x[]

Quickstart

# .kraken.py
from kraken.std.docker import build_docker_image

build_docker_image(
    name="buildDocker",
    dockerfile="docker/release.Dockerfile",
    tags=["kraken-example"],
    load=True,
)

Integration tests

The build_docker_image() function for Buildx and Kaniko are continuously integration tested to ensure that build time secrets under /run/secrets don't appear in the final image.