Skip to content

getporter/gh-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

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Porter Setup Action

This action installs porter so that it can be used in pipelines

Prerequisite

Using Porter's publish command requries access to a Docker registry. In order to push bundles and images to this registry, you will need to perform a Docker login. We recommend the docker-login action.

Example usage

name: CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Setup Porter
      uses: getporter/gh-action@v0.1.3
    - uses: azure/docker-login@v1
      name: Docker Login
      with:
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}
    - name: Porter Publish
      run: porter publish