Skip to content

Commit

Permalink
ci: 🎡 修复权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed May 29, 2024
1 parent e12cc73 commit 4b6973e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Checkout code
Expand Down

0 comments on commit 4b6973e

Please sign in to comment.