From 3149dd2f432397d7b41205b40975d06b66fa6d64 Mon Sep 17 00:00:00 2001 From: andrea rota Date: Fri, 13 Sep 2024 12:46:14 +0100 Subject: [PATCH] use latest GH actions for azure login and docker login --- .github/workflows/publish-marxan-docker-images.yml | 8 ++++---- .github/workflows/publish-webshot-docker-images.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-marxan-docker-images.yml b/.github/workflows/publish-marxan-docker-images.yml index 1573c8626c..b883d69182 100644 --- a/.github/workflows/publish-marxan-docker-images.yml +++ b/.github/workflows/publish-marxan-docker-images.yml @@ -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 }} @@ -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 }} diff --git a/.github/workflows/publish-webshot-docker-images.yml b/.github/workflows/publish-webshot-docker-images.yml index d3ee8552b7..cbd1db268b 100644 --- a/.github/workflows/publish-webshot-docker-images.yml +++ b/.github/workflows/publish-webshot-docker-images.yml @@ -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 }}