https://github.com/porter-dev/porter-update-action
This Github action updates a deployment running on Porter.
https://github.com/porter-dev/porter-update-action
Last synced: 11 months ago
JSON representation
This Github action updates a deployment running on Porter.
- Host: GitHub
- URL: https://github.com/porter-dev/porter-update-action
- Owner: porter-dev
- Created: 2021-08-12T13:15:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T19:08:14.000Z (almost 2 years ago)
- Last Synced: 2025-04-20T17:54:52.071Z (11 months ago)
- Language: Shell
- Size: 93.8 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# porter-update-action
This Github action updates an app deployment running on Porter.
Usage
---
```yaml
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Update Porter deployment
uses: porter-dev/porter-update-action@v0.1.0
with:
app: foo
cluster: 1234
project: 4321
token: ${{ secrets.PORTER_TOKEN }}
```
Configuration Options
---
The possible inputs are:
- `app`: (string, required): Name of application.
- `cluster`: (number, required): Cluster ID of Porter cluster.
- `dockerfile`: (string, optional): path to the Dockerfile used to build the image.
- `host`: (string, optional): Host URL of Porter instance. Set this if you use a self-hosted Porter instance.
- `namespace`: (string, optional): Namespace of the application (default "default")
- `path`: (string, optional): Path to build directory.
- `project`: (number, required): Project ID of Porter project.
- `tag` (string, optional): The specified tag to use (default "latest")
- `token`: (string, required): Token for Porter authentication.