From 6442a15b21a88687a89ccc8237ae61ae1de05486 Mon Sep 17 00:00:00 2001 From: peterdeme Date: Thu, 26 Sep 2024 10:50:27 +0200 Subject: [PATCH] Add OIDC permissions to Azure job --- .github/workflows/build_scheduled.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_scheduled.yml b/.github/workflows/build_scheduled.yml index 6417939..3e704f0 100644 --- a/.github/workflows/build_scheduled.yml +++ b/.github/workflows/build_scheduled.yml @@ -106,6 +106,9 @@ jobs: azure: name: Build Azure AMI using Packer runs-on: ubuntu-latest + permissions: + id-token: write + contents: read env: PKR_VAR_client_id: "976e4a6e-c619-417e-9add-50e2d674e2db" PKR_VAR_tenant_id: ${{ secrets.AZURE_TENANT_ID }}