Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

cpanato/faas-cli-installer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

faas-cli-installer GitHub Action

This action enables you to use faas-cli in your GitHub Actions workflows.

For a quick start guide on the usage of faas-cli, please refer to https://docs.openfaas.com/. For available faas-cli releases, see https://github.com/openfaas/faas-cli/releases.

Usage

Add the following entry to your Github workflow YAML file:

uses: cpanato/faas-cli-installer@main
with:
  faas-cli-release: '0.16.23' # optional

Example using a pinned version:

jobs:
  test_cosign_action:
    runs-on: ubuntu-latest

    permissions: {}

    name: Install Cosign and test presence in path
    steps:
      - name: Install faas-cli
        uses: cpanato/faas-cli-installer@main
        with:
          faas-cli-release: '0.16.23' # optional
      - name: Check install!
        run: faas-cli version

Optional Inputs

The following optional inputs:

Input Description
faas-cli-release faas-cli version to use instead of the default.