Skip to content

Conversation

@tony-musico
Copy link

Issue #, if available: #434

Description of changes:

This PR adds automatic detection and support for alternative container CLIs (buildah, podman, nerdctl) alongside Docker.

Changes:

  • Auto-detects available container CLI in order: docker → buildah → podman → nerdctl
  • Adds container-cli input parameter to allow manual CLI selection
  • Maintains backward compatibility with Docker as default fallback
  • Updates documentation to reflect multi-CLI support

Implementation details:

  • Detection iterates through supported CLIs until finding one that's available
  • Input validation ensures only supported CLIs are accepted
  • State management preserves selected CLI for cleanup phase
  • All 45 tests passing with 100% coverage

Motivation:
Addresses the request in #434 for Podman support. Also includes buildah and nerdctl support since GitHub-hosted runners may have these installed and users are increasingly adopting Docker alternatives.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Auto-detects container CLI in order: docker, buildah, podman, nerdctl
- Adds container-cli input to allow manual override
- Maintains backward compatibility with docker as default fallback
- Updates documentation to reflect multi-CLI support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant