@@ -24,6 +24,8 @@ permissions:
24
24
jobs :
25
25
build-and-push :
26
26
runs-on : ubuntu-24.04
27
+ outputs :
28
+ tag : ${{ steps.tag.outputs.tag }}
27
29
strategy :
28
30
matrix :
29
31
include :
@@ -146,3 +148,46 @@ jobs:
146
148
echo "| **SHA256** | \`${{ steps.docker_build_ci_pr.outputs.digest }}\` |" >> $GITHUB_STEP_SUMMARY
147
149
echo "| **Pull by tag** | \`$IMAGE:${{ steps.tag.outputs.tag }}\` |" >> $GITHUB_STEP_SUMMARY
148
150
echo "| **Pull by digest** | \`$IMAGE@${{ steps.docker_build_ci_pr.outputs.digest }}\` |" >> $GITHUB_STEP_SUMMARY
151
+
152
+ helm-chart :
153
+ if : ${{ success() }}
154
+ name : Push OCI Helm Chart
155
+ runs-on : ubuntu-24.04
156
+ needs : build-and-push
157
+ steps :
158
+ - name : Checkout Source Code
159
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
160
+ with :
161
+ ref : ${{ needs.build-and-push.outputs.tag }}
162
+ submodules : true
163
+ persist-credentials : false
164
+ fetch-depth : 0
165
+
166
+ - name : Get chart version
167
+ id : version
168
+ run : |
169
+ echo "chart_version=$(make chart-version)" >> $GITHUB_OUTPUT
170
+
171
+ - name : Push OCI Helm dev chart
172
+ uses : cilium/reusable-workflows/.github/actions/push-helm-chart@6ae27958f2f37545bf48e44106b73df05b1f6d12 # v0.1.0
173
+ with :
174
+ name : tetragon
175
+ path : install/kubernetes/tetragon
176
+ version : ${{ steps.version.outputs.chart_version }}
177
+ values_file_changes : |
178
+ {
179
+ "tetragon.image.repository": "quay.io/cilium/tetragon-ci",
180
+ "tetragon.image.tag": "${{ needs.build-and-push.outputs.tag }}",
181
+ "tetragonOperator.image.repository": "quay.io/cilium/tetragon-operator-ci",
182
+ "tetragonOperator.image.tag": "${{ needs.build-and-push.outputs.tag }}",
183
+ }
184
+ registry : quay.io
185
+ registry_namespace : cilium-charts-dev
186
+ registry_username : ${{ secrets.QUAY_CHARTS_DEV_USERNAME }}
187
+ registry_password : ${{ secrets.QUAY_CHARTS_DEV_PASSWORD }}
188
+
189
+ - name : Print helm command
190
+ run : |
191
+ echo "Example commands:"
192
+ echo helm template -n tetragon oci://quay.io/cilium-charts-dev/tetragon --version ${{ steps.version.outputs.chart_version }}
193
+ echo helm upgrade --install tetragon -n tetragon oci://quay.io/cilium-charts-dev/tetragon --version ${{ steps.version.outputs.chart_version }}
0 commit comments