Skip to content

github action built with typescript to download and install roxctl cli

Notifications You must be signed in to change notification settings

rprakashg-rh/setup-roxctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-roxctl

Javascript Github action written in Typescript which can be used to download and install roxctl cli for Red Hat Advanced Cluster Security (RHACS) for kubernetes. Action will download platform specific version based on the runner OS and defaults to latest version if no version is specified via input.

Usage

- uses: rprakashg-redhat/setup-roxctl@main
  with:
    # Version of roxctl to be downloaded
    # Default: latest
    version: ""

Scenarios

Download latest version

- uses: rprakashg-redhat/setup-roxctl@main
  with:
    version: "latest"

Download specific version

- uses: rprakashg-redhat/setup-roxctl@main
  with:
    version: "4.3.4"

Example

name: example
on:
  workflow_dispatch:
    inputs:
      version:
        description: Version of roxctl to setup
        type: string
        default: "latest"
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: setup roxctl
        id: setup-roxctl
        uses: ./
        with:
          version: ${{ inputs.version }}
      - name: verify
        run: |
          ./roxctl version
          ./roxctl help

About

github action built with typescript to download and install roxctl cli

Resources

Stars

Watchers

Forks

Packages

No packages published