File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -309,11 +309,12 @@ jobs:
309309 runs-on : ubuntu-22.04
310310 needs : [vars, helm-tests]
311311 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
312315 steps :
313316 - name : Checkout Repository
314317 uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
315- with :
316- path : nkg
317318
318319 - name : Login to GitHub Container Registry
319320 uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
@@ -325,7 +326,7 @@ jobs:
325326 - name : Package
326327 id : package
327328 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)
329330 echo "path=$(basename -- $(echo $output | cut -d: -f2))" >> $GITHUB_OUTPUT
330331
331332 - name : Push to GitHub Container Registry
You can’t perform that action at this time.
0 commit comments