Skip to content

container-tools/camel-k-action

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

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camel K Tools Action

A GitHub Action for installing and using Camel K.

Usage

Pre-requisites

Create a workflow YAML file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

For more information on inputs, see the API Documentation

  • version: The Camel K version to use (default: latest)
  • github_token: Optional token used when fetching the latest Camel K release to avoid hitting rate limits (you should set it to ${{ secrets.GITHUB_TOKEN }})

Example Workflow

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: Camel K

on: pull_request

jobs:
  camel-k:
    runs-on: ubuntu-latest
    steps:
      - name: Camel K CLI
        uses: container-tools/camel-k-action@v1

This uses @container-tools/camel-k-action GitHub Action to install the Camel K CLI binaries.