Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
unkhz committed Jul 19, 2024
1 parent af73b83 commit 4ce1838
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
build-base-images:
if: ${{ ! endsWith(github.event.head_commit.message, '[skip ci]') }}
needs: test
permissions:
contents: write
packages: write

strategy:
matrix:
Expand All @@ -54,7 +57,7 @@ jobs:
image: ghcr.io/unkhz/ruuvipuserrin-base-node
kustomization: ./packages/base-node/.khz-k3s/kustomization.yaml

uses: unkhz/ruuvipuserrin/.github/workflows/build-package.yml@master
uses: ./.github/workflows/build-package.yml
with:
package: ${{ matrix.args.package }}
context: ${{ matrix.args.context }}
Expand All @@ -64,6 +67,9 @@ jobs:
build-package-images:
if: ${{ ! endsWith(github.event.head_commit.message, '[skip ci]') }}
needs: build-base-images
permissions:
contents: write
packages: write

strategy:
matrix:
Expand All @@ -73,7 +79,7 @@ jobs:
image: ghcr.io/unkhz/ruuvipuserrin-archive
kustomization: ./packages/archive/.khz-k3s/kustomization.yaml

uses: unkhz/ruuvipuserrin/.github/workflows/build-package.yml@master
uses: ./.github/workflows/build-package.yml
with:
package: ${{ matrix.args.package }}
context: ${{ matrix.args.context }}
Expand Down

0 comments on commit 4ce1838

Please sign in to comment.