We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92e19a commit cb134adCopy full SHA for cb134ad
.github/workflows/release.yaml
@@ -60,6 +60,24 @@ jobs:
60
env:
61
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
62
63
+ - name: Package manually specified chart
64
+ if: ${{ github.event.inputs.chart != '' }}
65
+ run: |
66
+ set -euo pipefail
67
+ CHART_DIR="${{ github.event.inputs.chart }}"
68
+
69
+ if [ ! -d "$CHART_DIR" ]; then
70
+ echo "ERROR: Chart directory $CHART_DIR does not exist"
71
+ exit 1
72
+ fi
73
74
+ echo "Packaging chart from $CHART_DIR..."
75
+ mkdir -p .cr-release-packages
76
+ helm package "$CHART_DIR" --destination .cr-release-packages
77
78
+ echo "Packaged charts:"
79
+ ls -lh .cr-release-packages/
80
81
- name: Install cosign
82
uses: sigstore/[email protected]
83
if: ${{ steps.chart-releaser.outputs.changed_charts || github.event.inputs.chart != '' }}
0 commit comments