File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,14 @@ jobs:
4444 echo "Updated Chart.yaml version to ${{ steps.get_version.outputs.VERSION }}"
4545 cat Chart.yaml
4646
47- - name : Package Helm chart as OCI artifact and push to GitHub Container Registry
47+ - name : Package Helm chart
48+ id : package
4849 run : |
49- # Package the chart and push to GitHub Container Registry
5050 helm package .
51-
52- # Get the packaged file name
5351 PACKAGE_FILE=$(ls -t *.tgz | head -n1)
54-
52+ echo "package_file=${PACKAGE_FILE}" >> $GITHUB_OUTPUT
5553 echo "Packaged file: ${PACKAGE_FILE}"
56-
57- # Save as OCI artifact
58- helm push "${PACKAGE_FILE}" oci://ghcr.io/${{ github.repository }}
54+
55+ - name : Push to GitHub Container Registry
56+ run : |
57+ helm push "${{ steps.package.outputs.package_file }}" oci://ghcr.io/${{ github.repository }}
You can’t perform that action at this time.
0 commit comments