You've already forked prometheus-fail2ban-exporter-charts
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
76f2c66cda
|
|||
|
6705c5ce1b
|
@@ -121,15 +121,21 @@ 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
|
||||||
|
|
||||||
if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
|
# NOTE:
|
||||||
curl \
|
# Gitea does currently not support uploading Helm chart provenance files, so we skip this step for now. Once
|
||||||
--fail \
|
# Gitea supports this, we can simply uncomment the following lines to upload the provenance file as well.
|
||||||
--show-error \
|
#
|
||||||
--request POST \
|
# https://github.com/helm/helm/issues/31866
|
||||||
--user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
|
#
|
||||||
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
|
# if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
|
||||||
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
|
# curl \
|
||||||
fi
|
# --fail \
|
||||||
|
# --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:
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
charts
|
charts
|
||||||
|
cosign*
|
||||||
node_modules
|
node_modules
|
||||||
target
|
target
|
||||||
values2.yml
|
values2.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user