Skip to content

Commit

Permalink
Adding deploy permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKScott committed Oct 26, 2023
1 parent c34b33e commit 37b843c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
az acr build -f ${{env.DOCKER_PATH}} --image ${{ env.AZURE_CONTAINER_REGISTRY }}.azurecr.io/${{ env.CONTAINER_NAME }}:${{ github.sha }} --registry ${{ env.AZURE_CONTAINER_REGISTRY }} -g ${{ env.RESOURCE_GROUP }} .
Deploy-to-AKS:
permissions:
actions: read
contents: read
id-token: write
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs: [BuildImage]
Expand Down

0 comments on commit 37b843c

Please sign in to comment.