create-app: template example template tweak + add output

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-05-03 13:38:23 +02:00
parent 71684a0fdb
commit 590faa2329
2 changed files with 10 additions and 1 deletions
@@ -1,5 +1,5 @@
{
"name": ${{ values.name | dump }},
"name": "${{ values.name }}",
"private": true,
"dependencies": {}
}
@@ -63,3 +63,12 @@ spec:
input:
repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
catalogInfoPath: '/catalog-info.yaml'
# Outputs are displayed to the user after a successful execution of the template.
output:
links:
- title: Repository
url: ${{ steps.publish.output.remoteUrl }}
- title: Open in catalog
icon: catalog
entityRef: ${{ steps.register.output.entityRef }}