Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 946 Bytes

File metadata and controls

31 lines (25 loc) · 946 Bytes

Github Action for setting up rig CLI

Rig is an application platform for Kubernetes. Rig has a concept of Capsules which is a self-contained deployable unit of your application. This action installs the rig CLI which you can the use to deploy docker images.

The action handles download, install and caching of the rig binary.

Usage

Put the action in a step and optionally set the version if you want something specific rather than latest.

If the optional host, client-id and client-secret are set. The action will use them to activate the service account using rig auth activate-service-account.

jobs:
  deploy:
    steps:
      - uses: rigdev/setup-rig@v1
        with:
          version: v1.7.1
          host: ${{ vars.RIG_HOST }}
          client-id: ${{ vars.RIG_CLIENT_ID }}
          client-secret: ${{ secrets.RIG_CLIENT_SECRET }}
      - run: |
          rig capsule deploy -B ...