From c6addba4ca12293bdfe8da421c21a7f7b47325a4 Mon Sep 17 00:00:00 2001 From: sk593 Date: Wed, 7 Aug 2024 14:19:59 -0700 Subject: [PATCH] add az login Signed-off-by: sk593 --- .github/workflows/functional-test-cloud.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/functional-test-cloud.yaml b/.github/workflows/functional-test-cloud.yaml index f7562958643..4c6da2768b8 100644 --- a/.github/workflows/functional-test-cloud.yaml +++ b/.github/workflows/functional-test-cloud.yaml @@ -256,6 +256,14 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + + - name: 'Login via Azure CLI' + if: github.repository == 'radius-project/radius' && ((startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')) + uses: azure/login@v2 + with: + client-id: ${{ secrets.BICEPTYPES_CLIENT_ID }} + tenant-id: ${{ secrets.BICEPTYPES_TENANT_ID }} + subscription-id: ${{ secrets.BICEPTYPES_SUBSCRIPTION_ID }} - uses: marocchino/sticky-pull-request-comment@v2 if: env.PR_NUMBER != ''