Skip to content

Commit

Permalink
🩹 Set permisssions in image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed May 10, 2024
1 parent ca41c48 commit c72602d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/image-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
jobs:
image-v1:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/image-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
jobs:
image-v2:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down

0 comments on commit c72602d

Please sign in to comment.