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 50
50
if : ${{ steps.chart-releaser.outputs.changed_charts }}
51
51
run : |
52
52
CHANGED_CHARTS="${{ steps.chart-releaser.outputs.changed_charts }}"
53
+ REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
53
54
54
55
RELEASED_CHARTS=""
55
56
for chart_directory in ${CHANGED_CHARTS//,/ }; do
63
64
helm package . --app-version=${APP_VERSION} --version=${CHART_VERSION}
64
65
65
66
# 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
68
69
echo "Successfully released $CHART_NAME-$CHART_VERSION to GHCR"
69
70
else
70
71
echo "Failed to push $CHART_NAME-$CHART_VERSION to GHCR"
You can’t perform that action at this time.
0 commit comments