File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5050 if : ${{ steps.chart-releaser.outputs.changed_charts }}
5151 run : |
5252 CHANGED_CHARTS="${{ steps.chart-releaser.outputs.changed_charts }}"
53+ REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
5354
5455 RELEASED_CHARTS=""
5556 for chart_directory in ${CHANGED_CHARTS//,/ }; do
6364 helm package . --app-version=${APP_VERSION} --version=${CHART_VERSION}
6465
6566 # Push to GHCR
66- echo "Pushing Helm chart $CHART_NAME-$CHART_VERSION.tgz to oci://ghcr.io/${{ github.repository } }"
67- if helm push ${{ github.workspace }}/.cr-release-packages/${CHART_NAME}-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository } }; then
67+ echo "Pushing Helm chart $CHART_NAME-$CHART_VERSION.tgz to oci://ghcr.io/${REPO_LOWER }"
68+ if helm push ${{ github.workspace }}/.cr-release-packages/${CHART_NAME}-${CHART_VERSION}.tgz oci://ghcr.io/${REPO_LOWER }; then
6869 echo "Successfully released $CHART_NAME-$CHART_VERSION to GHCR"
6970 else
7071 echo "Failed to push $CHART_NAME-$CHART_VERSION to GHCR"
You can’t perform that action at this time.
0 commit comments