fix(ci): upload prov file to gitea

This commit is contained in:
volker.raschek committed 2026-10-18 17:19:10 +02:00
1 parent 941c715ef2
commit fe89428165
1 file changed
+9 -15
+9 -15
View File
@@ -117,21 +117,15 @@ jobs:
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \ --upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
# NOTE: if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
# Gitea does currently not support uploading Helm chart provenance files, so we skip this step for now. Once curl \
# Gitea supports this, we can simply uncomment the following lines to upload the provenance file as well. --fail \
# --show-error \
# https://github.com/helm/helm/issues/31866 --request POST \
# --user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
# if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then --upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
# curl \ https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
# --fail \ fi
# --show-error \
# --request POST \
# --user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
# --upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
# https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
# fi
- name: Upload Chart to Chartmuseum (Helm) - name: Upload Chart to Chartmuseum (Helm)
env: env: