Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

carvel-setup-action

v1.0.6

carvel-setup-action

play

carvel-setup-action

Install Carvel apps (ytt, kbld, kapp, kwt, imgpkg and vendir)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: carvel-setup-action

uses: carvel-dev/setup-action@v1.0.6

Learn more about this action in carvel-dev/setup-action

Choose a version

carvel-setup-action

Build Status Release Status

A Github Action to install Carvel apps (ytt, kbld, kapp, kwt, imgpkg and vendir).

Usage

By default, installs latest versions of ytt, kbld, kapp, kwt, imgpkg and vendir:

steps:
- uses: vmware-tanzu/carvel-setup-action@v1
- run: |
    ytt version
    kbld version

carvel-setup-action uses the GitHub API to find information about latest releases. To avoid rate limits it is recommended you pass a token:

steps:
- uses: vmware-tanzu/carvel-setup-action@v1
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
- run: |
    ytt version
    kbld version

To install only specific apps:

steps:
- uses: vmware-tanzu/carvel-setup-action@v1
  with:
    only: ytt, kbld
- run: |
    ytt version
    kbld version

To exclude specific apps:

steps:
- uses: vmware-tanzu/carvel-setup-action@v1
  with:
    exclude: kwt, vendir
- run: |
    ytt version
    kbld version

To use a specific version of an app:

steps:
- uses: vmware-tanzu/carvel-setup-action@v1
  with:
    only: ytt, kbld
    kbld: v0.28.0
- run: |
    ytt version
    kbld version

Development

See DEVELOPMENT.