Include artifacthub information in repository

This commit is contained in:
Alexander Olofsson 2023-08-06 18:16:43 +02:00
parent ab42f23842
commit 8528daff15
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 3 additions and 0 deletions

View file

@ -33,6 +33,7 @@ pages:
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
- curl --user gitlab-ci-token:$CI_JOB_TOKEN "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/index.yaml" -o repo-index.yaml
- sed -e "s|- charts/|- ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/|" repo-index.yaml > ./public/index.yaml
- cp artifacthub-repo.yml ./public/
artifacts:
paths:
- public

2
artifacthub-repo.yml Normal file
View file

@ -0,0 +1,2 @@
---
repositoryID: 53d55917-cab1-40ab-b6a6-c1d2f74e5426