Skip to content

Commit fcf5d54

Browse files
committed
Add attestations permission and update comments in CI/CD workflow
1 parent 591a437 commit fcf5d54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77

88
permissions:
9+
attestations: write
910
id-token: write
1011
contents: read
1112

@@ -69,7 +70,8 @@ jobs:
6970
- name: logout
7071
run: |
7172
az logout
72-
73+
74+
# https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3
7375
container-build-publish:
7476
name: Build and Publish Container Image
7577
needs: []

0 commit comments

Comments
 (0)