feat: Enable rootless podman based image builds
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
This MR contains some initial "MVP" work to support DinD-less AutoDevOps as outlined in gitlab-org/gitlab#23706
The new DinD-less mode is gated behind a AUTO_DEVOPS_PODMAN env variable, so users can opt-in to use this by setting it to true at any level. It seems like this way we can get folks started on using podman with a minimal disruption to existing DinD based workflows. See gitlab-org/gitlab!178560.
Currently this enables both Dockerfile and buildpack style builds. We only tested some very basic buildpack style builds. For this reason we still consider the feature a bit experimental, getting it into the hands of buildpack users will probably surface more edge cases.
Edited by David Fernandez