You've already forked helm-gitea
asd
Some checks failed
Run Helm tests / Execute helm lint (push) Successful in 10s
Run Helm tests / Execute helm template (push) Successful in 9s
Markdown linter / Execute npm run readme:link (push) Successful in 19s
Markdown linter / Execute npm run readme:lint (push) Successful in 8s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Run Helm tests / Execute helm unittest (push) Successful in 1m9s
Release / publish-chart (push) Failing after 29s
Release / publish-release-notes (push) Has been skipped
Some checks failed
Run Helm tests / Execute helm lint (push) Successful in 10s
Run Helm tests / Execute helm template (push) Successful in 9s
Markdown linter / Execute npm run readme:link (push) Successful in 19s
Markdown linter / Execute npm run readme:lint (push) Successful in 8s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Run Helm tests / Execute helm unittest (push) Successful in 1m9s
Release / publish-chart (push) Failing after 29s
Release / publish-release-notes (push) Has been skipped
This commit is contained in:
@@ -106,7 +106,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload package as OCI artifact to Gitea
|
- name: Upload package as OCI artifact to Gitea
|
||||||
run: |
|
run: |
|
||||||
helm push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz "oci://${GITEA_SERVER_HOSTNAME}/${REPOSITORY_OWNER}/${REPOSITORY_NAME}"
|
helm push *-${PACKAGE_VERSION}.tgz "oci://${GITEA_SERVER_HOSTNAME}/${REPOSITORY_OWNER}/${REPOSITORY_NAME}"
|
||||||
|
|
||||||
|
- name: Upload package as Helm chart to Gitea
|
||||||
|
env:
|
||||||
|
GITEA_REGISTRY_TOKEN: ${{ secrets.GT_PACKAGE_REGISTRY_TOKEN }}
|
||||||
|
run: |
|
||||||
|
for package in "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz"*; do
|
||||||
|
curl \
|
||||||
|
--fail \
|
||||||
|
--show-error \
|
||||||
|
--request POST \
|
||||||
|
--user "${REPOSITORY_OWNER}:${GITEA_REGISTRY_TOKEN}" \
|
||||||
|
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \
|
||||||
|
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
# - name: Build new index.yaml
|
# - name: Build new index.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user