Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.04 KB

porter-update-action

This Github action updates an app deployment running on Porter.

Usage

steps:
  - name: Checkout code
    uses: actions/[email protected]
  - name: Update Porter deployment
    uses: porter-dev/[email protected]
    with:
      app: foo
      cluster: 1234
      project: 4321
      token: ${{ secrets.PORTER_TOKEN }}

Configuration Options

The possible inputs are:

  • app: (string, required): Name of application.
  • cluster: (number, required): Cluster ID of Porter cluster.
  • dockerfile: (string, optional): path to the Dockerfile used to build the image.
  • host: (string, optional): Host URL of Porter instance. Set this if you use a self-hosted Porter instance.
  • namespace: (string, optional): Namespace of the application (default "default")
  • path: (string, optional): Path to build directory.
  • project: (number, required): Project ID of Porter project.
  • tag (string, optional): The specified tag to use (default "latest")
  • token: (string, required): Token for Porter authentication.