Skip to content

This Github action updates a deployment running on Porter.

Notifications You must be signed in to change notification settings

lsnow99/porter-update-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 }}
      build_secrets: key1=val1,key2=val2  # Used internally by Porter

Configuration Options

The possible inputs are:

  • app: (string, required): Name of application.
  • cluster: (number, required): Cluster ID of Porter cluster.
  • 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.
  • build_secrets: (string, optional): Comma-separated key-value pairs of secrets to be used in the build

About

This Github action updates a deployment running on Porter.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 90.7%
  • Dockerfile 9.3%