This repo contains a github action that allows to upload an application into the Napptive catalog.
Napptive playground simplifies the process to depoy and maintenance cloud-native applications. Try for free!!
Napptive catalog contains a collection of applications ready to be deployed. The applications in the catalog are available to all users of the platform.
This environment variable contains a Napptive Personal Access Token used to login to the platform.
The path that contains the yaml files of the application to be uploaded.
The namespace where the application is going to be udpated. The applications within the catalog are organized in different namespaces. You can upload apps to your account namespace. The application will be named following the following notation namespace/appName:tag
.
With the application name. In Napptive Catalog, the name of the application follows the following convention: namespace/appName:tag
With the application tag. This input is required, latest by default.
The Application in Napptive Catalog will be named as namespace/appName:tag
To use a custom YAML file to change the target playground installation. No required This file contains a playground installation configuration. Visit documentation for an example.
on: [push]
jobs:
deploy:
name: Upload new version to the catalog
runs-on: ubuntu-latest
steps:
# Get a copy of the repo.
- uses: actions/checkout@v2
# Push a new version of the application
- uses: napptive-actions/catalog-push-action@v6.4.0
env:
PLAYGROUND_PAT: ${{ secrets.PLAYGROUND_PAT }}
with:
applicationPath: ./app/
namespace: "napptive"
applicationName: "drawio"
tag: "14.3.0"
Copyright 2020 Napptive
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.