An open API service indexing awesome lists of open source software.

https://github.com/rigdev/setup-rig


https://github.com/rigdev/setup-rig

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Github Action for setting up `rig` CLI

[Rig](https://docs.rig.dev) 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`.

```yaml
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 ...
```