This action installs porter so that it can be used in pipelines
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.
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