mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
As availability may be limited in some edge cases. When a job is for example running within a container, `openssl` is not always available. However, when running on a macOS or Windows runner, the actual opposite is true. Signed-off-by: Hidde Beydals <hidde@hhh.computer> |
||
|---|---|---|
| .. | ||
| action.yml | ||
| README.md | ||
Flux GitHub Action
To install the latest Flux CLI on Linux, macOS or Windows GitHub runners:
steps:
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
with:
version: 'latest'
- name: Run Flux CLI
run: flux version --client
The Flux GitHub Action can be used to automate various tasks in CI, such as:
- Automate Flux upgrades on clusters via Pull Requests
- Push Kubernetes manifests to container registries
- Run end-to-end testing with Flux and Kubernetes Kind
For more information, please see the Flux GitHub Action documentation.