Skip to content

Commit

Permalink
Added github action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4man committed Dec 6, 2024
1 parent 86035e0 commit a120ff9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
IMAGE_NAME: bootc-demo1
REGISTRY: ghcr.io/intlug

permissions:
contents: read
packages: write
attestations: write
id-token: write

steps:
- name: Clone the repository
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
#change ubuntu-latest to runner if using the included gitea configs
runs-on: ubuntu-latest
env:
IMAGE_NAME: bootc-example
REGISTRY: ghcr.io/[USERNAME]
IMAGE_NAME: bootc-demo1
REGISTRY: ghcr.io/intlug

steps:
- name: Clone the repository
Expand Down

0 comments on commit a120ff9

Please sign in to comment.