File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -309,11 +309,12 @@ jobs:
309
309
runs-on : ubuntu-22.04
310
310
needs : [vars, helm-tests]
311
311
if : ${{ github.event_name == 'push' && ! startsWith(github.ref, 'refs/heads/release-') }}
312
+ permissions :
313
+ contents : read
314
+ packages : write # for helm to push to GHCR
312
315
steps :
313
316
- name : Checkout Repository
314
317
uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
315
- with :
316
- path : nkg
317
318
318
319
- name : Login to GitHub Container Registry
319
320
uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
@@ -325,7 +326,7 @@ jobs:
325
326
- name : Package
326
327
id : package
327
328
run : |
328
- output=$(helm package ${{ ! startsWith(github.ref, 'refs/tags/') && '--app-version edge --version 0.0.0-edge' || '' }} nkg/ deploy/helm-chart)
329
+ output=$(helm package ${{ ! startsWith(github.ref, 'refs/tags/') && '--app-version edge --version 0.0.0-edge' || '' }} deploy/helm-chart)
329
330
echo "path=$(basename -- $(echo $output | cut -d: -f2))" >> $GITHUB_OUTPUT
330
331
331
332
- name : Push to GitHub Container Registry
You can’t perform that action at this time.
0 commit comments