Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 815 Bytes

File metadata and controls

32 lines (23 loc) · 815 Bytes

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