Skip to content

Commit 27a950a

Browse files
authored
Merge pull request #6 from redhat-actions/creating_readme_file
Creating readme file
2 parents 7d6e2b6 + 7e20930 commit 27a950a

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# podman-install
1+
# podman-install
2+
3+
This composite action installs Podman on GitHub-hosted runners for both Linux (Ubuntu) and Windows. It's designed to be a simple, one-stop solution for setting up Podman in your CI workflows.
4+
5+
## Features
6+
7+
The action is cross-platform, working for both ubuntu-latest and windows-latest runners.
8+
9+
On Windows, it features a smart installer that automatically fetches the latest Podman version by default. However, you can also specify a specific version if your CI needs to be pinned to an older release. After installation, the action automatically runs podman machine init --now to ensure the Podman machine is running and ready for use in subsequent steps.
10+
11+
On Linux, the action installs Podman v5.x and its key dependencies (like CRIU) from the openSUSE Kubic repository, ensuring you get a modern version.
12+
13+
### Inputs
14+
15+
This action accepts two inputs to customize its behavior:
16+
17+
podman-version-input: This input is used only on Windows runners. You can set it to 'latest' (which is the default) to automatically install the most recent Podman release, or provide a specific version string (e.g., '5.6.2') to install that exact version.
18+
19+
ubuntu-version: This input is used only on Linux runners. It specifies the Ubuntu version codename (like '23.10' or '22.04') needed to construct the correct URL for the Kubic repository. The default value is '23.10'.

0 commit comments

Comments
 (0)