You've already forked prometheus-postgres-exporter
Compare commits
2 Commits
8ba2bddf88
...
13ce03e7d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
13ce03e7d9
|
|||
|
b6cc99d7b4
|
@@ -16,7 +16,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: sigstore/cosign-installer@v4.0.0
|
- uses: sigstore/cosign-installer@v4.0.0
|
||||||
with:
|
with:
|
||||||
cosign-release: "v2.6.2" # renovate: datasource=github-tags depName=sigstore/cosign
|
cosign-release: "v3.0.4" # renovate: datasource=github-tags depName=sigstore/cosign
|
||||||
|
|
||||||
- uses: azure/setup-helm@v4.3.1
|
- uses: azure/setup-helm@v4.3.1
|
||||||
with:
|
with:
|
||||||
@@ -113,15 +113,23 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_REGISTRY_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
GITEA_REGISTRY_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||||
run: |
|
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
|
||||||
|
|
||||||
|
if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
|
||||||
curl \
|
curl \
|
||||||
--fail \
|
--fail \
|
||||||
--show-error \
|
--show-error \
|
||||||
--request POST \
|
--request POST \
|
||||||
--user "${REPOSITORY_OWNER}:${GITEA_REGISTRY_TOKEN}" \
|
--user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
|
||||||
--upload-file "${package}" \
|
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
|
||||||
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: Upload Chart to Chartmuseum (Helm)
|
- name: Upload Chart to Chartmuseum (Helm)
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user