Skip to content

Commit 19e2368

Browse files
[FIX] CI Fix 5
1 parent befb762 commit 19e2368

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release-helm.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)