Skip to content

Commit

Permalink
add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kwikwag committed Nov 18, 2023
1 parent 305176c commit e105aa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
jobs:
UseGhcrAndCache:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -14,7 +17,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: ${{github.sha}}
tags: latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit e105aa1

Please sign in to comment.