/carvel-setup-action

Github Action for setting up Carvel apps (ytt, kbld, kapp, kctrl, kwt, imgpkg and vendir)

Primary LanguageTypeScriptApache License 2.0Apache-2.0

carvel-setup-action

Build Status Release Status

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

Usage

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

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.