diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c5db591..17ba29f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,6 +13,7 @@ jobs:
     permissions:
       packages: write
       contents: read
+      id-token: write
       attestations: write
     steps:
       - name: Check out the repo