buildah-build icon indicating copy to clipboard operation
buildah-build copied to clipboard

[FEATURE] buildah in container

Open amezin opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Buildah version on Ubuntu 22.04 GitHub-hosted action runners is rather old (1.23.1 - from Ubuntu repositories), not supporting --cache-to. Even through mixing and matching packages from multiple Ubuntu releases, you can only get 1.28.2 - where registry cache still isn't working correctly.

Describe the solution you'd like

Would be nice if this action supported running buildah in a container (i.e. quay.io/buildah/stable image) transparently. With the ability to get the built image in "host" podman storage.

Describe alternatives you've considered

  1. Just run the image using podman/docker. But then I completely lose the convenience of this action.

  2. Run the entire workflow/job using buildah image. But I need the ubuntu-22.04 environment for other steps. Passing the image between jobs as a tar archive artifact would be slow and could probably hit GitHub limits.

Additional context

amezin avatar Aug 20 '23 16:08 amezin