You've already forked helm-gitea
asd
Some checks failed
Run Helm tests / Execute helm template (push) Successful in 8s
Run Helm tests / Execute helm lint (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 26s
Markdown linter / Execute npm run readme:lint (push) Successful in 8s
Markdown linter / Execute npm run readme:link (push) Successful in 35s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Release / publish-chart (push) Failing after 58s
Release / publish-release-notes (push) Has been skipped
Some checks failed
Run Helm tests / Execute helm template (push) Successful in 8s
Run Helm tests / Execute helm lint (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 26s
Markdown linter / Execute npm run readme:lint (push) Successful in 8s
Markdown linter / Execute npm run readme:link (push) Successful in 35s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Release / publish-chart (push) Failing after 58s
Release / publish-release-notes (push) Has been skipped
This commit is contained in:
@@ -113,18 +113,27 @@ jobs:
|
|||||||
GITEA_REGISTRY_USERNAME: ${{ secrets.GT_PACKAGE_REGISTRY_USERNAME }}
|
GITEA_REGISTRY_USERNAME: ${{ secrets.GT_PACKAGE_REGISTRY_USERNAME }}
|
||||||
GITEA_REGISTRY_TOKEN: ${{ secrets.GT_PACKAGE_REGISTRY_TOKEN }}
|
GITEA_REGISTRY_TOKEN: ${{ secrets.GT_PACKAGE_REGISTRY_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
curl \
|
||||||
for package in *"${PACKAGE_VERSION}.tgz"*; do
|
--fail \
|
||||||
echo "Uploading ${package}..."
|
--request POST \
|
||||||
|
--show-error \
|
||||||
|
--silent \
|
||||||
|
--upload-file *"${PACKAGE_VERSION}.tgz" \
|
||||||
|
--user "${GITEA_REGISTRY_USERNAME}:${GITEA_REGISTRY_TOKEN}" \
|
||||||
|
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
|
||||||
|
|
||||||
|
if [ -f *"${PACKAGE_VERSION}.tgz.prov" ]; then
|
||||||
curl \
|
curl \
|
||||||
--fail \
|
--fail \
|
||||||
--request POST \
|
--request POST \
|
||||||
--show-error \
|
--show-error \
|
||||||
--silent \
|
--silent \
|
||||||
--upload-file "${package}" \
|
--upload-file *"${PACKAGE_VERSION}.tgz.prov" \
|
||||||
--user "${GITEA_REGISTRY_USERNAME}:${GITEA_REGISTRY_TOKEN}" \
|
--user "${GITEA_REGISTRY_USERNAME}:${GITEA_REGISTRY_TOKEN}" \
|
||||||
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
|
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
|
||||||
done
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# - name: Build new index.yaml
|
# - name: Build new index.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user