Skip to content

Commit 0ffefd1

Browse files
authored
Merge pull request #6 from significa/cicd-permissions
fix: github workflows permissions
2 parents 668bdfa + fbffb58 commit 0ffefd1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: read
20+
id-token: write
2021
packages: write
2122
steps:
2223
- uses: actions/checkout@v3
@@ -57,3 +58,5 @@ jobs:
5758
push: ${{ github.event_name != 'pull_request' }}
5859
tags: ${{ steps.docker_metadata.outputs.tags }}
5960
labels: ${{ steps.docker_metadata.outputs.labels }}
61+
cache-from: type=gha
62+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)