This action allows you to add an application to the catalog.
Environment Variables
Variable
Description
PLAYGROUND_PAT
The PLAYGROUND_PAT environment variable contains the Napptive Personal Access Token.
Inputs
Input
Description
applicationPath
The path that contains the YAML files of the application to be uploaded. This input is required.
namespace
The namespace where the application is going to be udpated. This input is required
applicationName
With the name of the application.
tag
With the application tag. If empty the application will be tagged as latest.
playgroundConfigFile
This file allows you to change the target playground installation. This input is not required. Visit documentation for an example.
Example
name:Push an application to Napptive Playgroundon:[push]jobs:deploy:name:Catalog deployruns-on:ubuntu-lateststeps:name:Publish docker image, and update the application in the catalogon:workflow_dispatchenv:PLAYGROUND_PAT:${{ secrets.PLAYGROUND_PAT}}jobs:build:name:Push docker images & deploy new versionruns-on:ubuntu-lateststeps:# Get a copy of the repo.-uses:actions/checkout@v2-name:Push the application on the cataloguses:napptive-actions/catalog-push-action@v5.0.0with:applicationPath:./build/k8s/namespace:"namespace"applicationName:"appName"tag:"v1.1.0"