Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

github-action porter

Last synced: 4 months ago
JSON representation

GitHub Action that installs Porter

Awesome Lists containing this project

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
```