We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3610d8e commit df7b866Copy full SHA for df7b866
.github/workflows/publish-image.yml
@@ -7,8 +7,9 @@ on:
7
8
jobs:
9
build-and-publish:
10
- permissions: write-all
11
runs-on: ubuntu-latest
+ permissions:
12
+ contents: write
13
14
steps:
15
- name: Checkout code
@@ -27,7 +28,7 @@ jobs:
27
28
with:
29
registry: ghcr.io
30
username: ${{ github.actor }}
- password: ${{ secrets.GH_PAT }}
31
+ password: ${{ secrets.GITHUB_TOKEN }}
32
33
- name: Build and push Docker image
34
uses: docker/build-push-action@v6
0 commit comments