kbld icon indicating copy to clipboard operation
kbld copied to clipboard

WIP: Buildah/podman support

Open Baenimyr opened this issue 8 months ago • 0 comments

Add support for buildah to create and publish images.

The buildah build command with the --manifest option is used to build an image. The buildah manifest push command sends the images to a remote registry and retrieve the digest (use a random tag like docker).

Options example in sources:

buildah:
  pull: true
  target: "app"
  platforms:
    - linux/amd64
    - linux/arm64
  buildArgs:
    VERSION: latest
  rawOptions:
    - --layers
    - --jobs=0
    - --quiet

The user can use rawOptions to add arguments like --layers, --jobs=0 or --cache-from. None of them is activated by default.

  • [x] build
  • [x] push to destinations
  • [x] get digest and let kbld create more tags
  • [x] create tests

Baenimyr avatar Apr 29 '25 19:04 Baenimyr