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 20, 2024
1 parent 849448d commit 3149dd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-marxan-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ jobs:
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 @@ -122,9 +122,9 @@ jobs:
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
4 changes: 2 additions & 2 deletions .github/workflows/publish-webshot-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
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 3149dd2

Please sign in to comment.