ghcr.io/porter-dev/releases/porter-cli:latest
, a public Docker image that contains the Porter CLI. This allows you to run Porter CLI commands easily as part of any workflow.
The Porter CLI requires that the following environment variables are set in order to target a specific application:
porter config
.
Examples
CircleCI
It is easiest to create a CircleCI Context for each Porter cluster in order to set environment variables for a CircleCI job. In CircleCI, set the following environment variables in a context:porter config
from the Porter CLI. Next, you can create the following CircleCI config file to a desired branch of your repository:
<CONTEXT_NAME>
and <APP_NAME>
with your actual CircleCI context name and application name.