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 5d1321b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 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
18 changes: 9 additions & 9 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,16 +86,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 @@ -115,16 +115,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 Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-webshot-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,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 Down

0 comments on commit 5d1321b

Please sign in to comment.