Skip to content

Commit

Permalink
Test upload
Browse files Browse the repository at this point in the history
  • Loading branch information
grig777 committed Jan 23, 2025
1 parent e389862 commit 2def256
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release_charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
# Package the Helm chart
helm package "$chart_dir" --destination packaged_charts
# Push the packaged chart to GitHub Container Registry
CHART_NAME=$(basename "$chart_dir")
CHART_VERSION=$(helm show chart "$chart_dir" | grep 'version:' | awk '{print $2}')
helm push "packaged_charts/${CHART_NAME}-${CHART_VERSION}.tgz" "oci://ghcr.io/${{ github.repository_owner }}/charts"
CHART_FILE=$(ls packaged_charts/*.tgz | tail -n 1)
helm push "$CHART_FILE" "oci://ghcr.io/${{ github.repository_owner }}/charts"
fi
done

0 comments on commit 2def256

Please sign in to comment.