Skip to content

Commit df5c5a7

Browse files
committed
chore: update permissions in Docker workflow to allow write access for contents
1 parent 610480c commit df5c5a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ on:
1010
branches: [ main ]
1111
workflow_dispatch:
1212

13-
permissions:
14-
contents: write
15-
1613
jobs:
1714
build:
1815

1916
runs-on: ubuntu-latest
2017
permissions:
21-
contents: read
18+
contents: write
2219
packages: write
2320

2421
steps:
2522
- name: Checkout repository
2623
uses: actions/checkout@v4
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
fetch-depth: 0
2727

2828
- name: Log into registry docker.io
2929
uses: docker/login-action@v3

0 commit comments

Comments
 (0)