Skip to content

Commit

Permalink
Support auth-type for azure/login
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <[email protected]>
  • Loading branch information
helayoty committed Nov 28, 2023
1 parent a028505 commit a6400d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,11 @@ jobs:
echo "Azure CLI already installed."
fi
- uses: azure/login@v1.4.6
- uses: azure/login@v1.5.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
allow-no-subscriptions: true

- name: Set subscription
run: az account set --subscription ${{secrets.SUBSCRIPTION_ID}}
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}

- name: Install Helm
uses: azure/setup-helm@v3
Expand Down Expand Up @@ -118,7 +115,7 @@ jobs:
REGISTRY: ${{ env.CLUSTER_NAME }}.azurecr.io
VERSION: ${{ env.VERSION }}

- uses: azure/login@v1.4.6
- uses: azure/login@v1.5.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-acr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
submodules: true
ref: ${{ env.REPO_TAG }}
- name: 'Az CLI login'
uses: azure/login@v1.4.7
uses: azure/login@v1.5.0
with:
client-id: ${{ secrets.KAITO_MCR_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down

0 comments on commit a6400d3

Please sign in to comment.