Skip to content

Update the GHA to intelligently detect podman or docker binary and use as appropriate #576

@kquinsland

Description

@kquinsland

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

I am attempting to use the install-pluto GHA but am unable to.
The error:

Run FairwindsOps/pluto/github-action@v5.22.2
  with:
    IMAGE_PULL_URL: us-docker.pkg.dev/fairwinds-ops/oss/pluto
    IMAGE_TAG: v5
Run podman pull us-docker.pkg.dev/fairwinds-ops/oss/pluto:v5
  podman pull us-docker.pkg.dev/fairwinds-ops/oss/pluto:v5
  podman cp $(podman create --rm us-docker.pkg.dev/fairwinds-ops/oss/pluto:v5):/pluto /usr/local/bin/pluto
  
  pluto --help
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
/runner/_work/_temp/b8807c6c-b791-43df-8ddb-15ac6db38fff.sh: line 1: podman: command not found

Describe the solution you'd like

Ideally this would run through a few different tools and use the first one that was found in $PATH.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding additional functionality or improvementstriageThis bug needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions