Skip to content

Commit

Permalink
Use a variable to specify repository owner
Browse files Browse the repository at this point in the history
  • Loading branch information
YaSuenag committed Sep 1, 2023
1 parent 19bcb02 commit 4e0b3a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4e0b3a1

Please sign in to comment.