Skip to content

Commit

Permalink
use latest GH actions for azure login and docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzevzl committed Sep 13, 2024
1 parent e2893d4 commit 849448d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: actions/checkout@v4

- name: Login via Azure CLI
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-marxan-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ jobs:
uses: actions/checkout@v4

- name: 'Login via Azure CLI'
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Build and push image
uses: azure/docker-login@v1
uses: docker/login-action@v3
with:
login-server: ${{ vars.REGISTRY_LOGIN_SERVER }}
registry: ${{ vars.REGISTRY_LOGIN_SERVER }}
username: ${{ vars.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

Expand All @@ -86,7 +86,7 @@ jobs:
uses: actions/checkout@v4

- name: Login via Azure CLI
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
uses: actions/checkout@v4

- name: Login via Azure CLI
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-webshot-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4

- name: Login via Azure CLI
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down

0 comments on commit 849448d

Please sign in to comment.