From e05d80fec8ee0c8148c97c19c24483ad49ff9792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Alejandro=20Marug=C3=A1n?= Date: Tue, 27 Aug 2024 15:14:46 +0200 Subject: [PATCH] fix: oras push helm sign for artifacthub --- .github/workflows/release.yaml | 2 +- charts/opencti/artifacthub-repo.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 charts/opencti/artifacthub-repo.yml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d53fcd7..7100dc2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -92,7 +92,7 @@ jobs: digest=$(awk -F "[, ]+" '/Digest/{print $NF}' < helm-push-output.log) cosign sign -y "ghcr.io/${GITHUB_REPOSITORY}/${chart_name}@${digest}" - oras push "ghcr.io/${GITHUB_REPOSITORY}/${chart_name}:${{ steps.chart_version.outputs.CHART_VERSION }}" + oras push "ghcr.io/${GITHUB_REPOSITORY}/${chart_name}:artifacthub.io" "./charts/${chart_name}/artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml" done env: COSIGN_EXPERIMENTAL: 1 diff --git a/charts/opencti/artifacthub-repo.yml b/charts/opencti/artifacthub-repo.yml new file mode 100644 index 0000000..01810ed --- /dev/null +++ b/charts/opencti/artifacthub-repo.yml @@ -0,0 +1,6 @@ +repositoryID: 595ff55e-d8da-4bce-bf3b-ff2709e37f37 +owners: + - name: ialejandro + email: hello@ialejandro.rocks + - name: amartingarcia + email: adrianmg231189@gmail.com