From ab9f2a3b6fc28359198bd1fc755e40ce48f665c8 Mon Sep 17 00:00:00 2001 From: raffis Date: Mon, 2 Sep 2024 15:16:51 +0200 Subject: [PATCH] ci: fix release pipeline (#58) --- .github/ISSUE_TEMPLATE/bug_report.md | 1 - .github/workflows/release.yaml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a7b77dd..7f076c0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -18,7 +18,6 @@ A clear and concise description of what you expected to happen. #### Environment - controller version: [e.g. v1.0.0] - - keycloak version: [e.g. v15.0.0] - kubernetes version: [e.g. v1.19.0] #### Additional context diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 791c641..d90cde2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -77,6 +77,6 @@ jobs: - name: Publish helm charts to Github Container Registry run: | repository=$(echo "${{ github.repository_owner }}" | tr [:upper:] [:lower:]) - helm push ${{ github.workspace }}/chart/keycloak-controller-*.tgz oci://ghcr.io/$repository/charts |& tee .digest + helm push ${{ github.workspace }}/chart/swagger-hub-controller-*.tgz oci://ghcr.io/$repository/charts |& tee .digest cosign login --username ${GITHUB_ACTOR} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io - cosign sign --yes ghcr.io/$repository/charts/keycloak-controller@$(cat .digest | awk -F "[, ]+" '/Digest/{print $NF}') + cosign sign --yes ghcr.io/$repository/charts/swagger-hub-controller@$(cat .digest | awk -F "[, ]+" '/Digest/{print $NF}')