From 8d8759c516df2ad77364799fdff7fe4196c3b315 Mon Sep 17 00:00:00 2001 From: Chris Sherlock <99017916+cshnimble@users.noreply.github.com> Date: Fri, 8 Mar 2024 09:20:47 +0000 Subject: [PATCH] Bump azure actions to v2 (#461) * Bump azure/login action to v2 * Update azure/cli to v2 --- .github/workflows/build-and-push-image.yml | 4 ++-- .github/workflows/security-tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-push-image.yml b/.github/workflows/build-and-push-image.yml index d8b2449ab..fb2ccca6b 100644 --- a/.github/workflows/build-and-push-image.yml +++ b/.github/workflows/build-and-push-image.yml @@ -116,12 +116,12 @@ jobs: environment: ${{ needs.set-env.outputs.environment }} steps: - name: Azure login with ACA credentials - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_ACA_CREDENTIALS }} - name: Update Azure Container Apps Revision - uses: azure/CLI@v1 + uses: azure/CLI@v2 id: azure with: azcliversion: 2.45.0 diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml index 04119cf5b..e1ce1070a 100644 --- a/.github/workflows/security-tests.yml +++ b/.github/workflows/security-tests.yml @@ -79,13 +79,13 @@ jobs: - name: Azure login with SPN if: '!cancelled()' - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.OWASP_AZ_CREDENTIALS }} - name: Push report to blob storage if: '!cancelled()' - uses: azure/CLI@v1 + uses: azure/CLI@v2 id: azure with: azcliversion: 2.49.0