From 4e0b3a1db5d244494bf89e84280dd2b4342a703a Mon Sep 17 00:00:00 2001 From: Yasumasa Suenaga Date: Fri, 1 Sep 2023 09:32:33 +0900 Subject: [PATCH] Use a variable to specify repository owner --- .github/workflows/publish-helm-chart.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-helm-chart.yaml b/.github/workflows/publish-helm-chart.yaml index 84bbfb1ab..17e074f09 100644 --- a/.github/workflows/publish-helm-chart.yaml +++ b/.github/workflows/publish-helm-chart.yaml @@ -36,5 +36,6 @@ jobs: - name: Push charts to GHCR run: | - helm push carbon-aware-sdk-${{ env.CHART_VERSION }}.tgz "oci://ghcr.io/green-software-foundation/charts" + OWNER_LOWER=${GITHUB_REPOSITORY_OWNER,,} + helm push carbon-aware-sdk-${{ env.CHART_VERSION }}.tgz "oci://ghcr.io/$OWNER_LOWER/charts" shell: bash