Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/getporter/gh-action

GitHub Action that installs Porter
https://github.com/getporter/gh-action

github-action porter

Last synced: 3 months ago
JSON representation

GitHub Action that installs Porter

Lists

README

        

# Porter Setup Action

This action installs [porter](https://porter.sh) 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](https://github.com/marketplace/actions/docker-login) action.

## Example usage

```yaml
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup Porter
uses: getporter/[email protected]
- uses: azure/docker-login@v1
name: Docker Login
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Porter Publish
run: porter publish
```