Skip to content

Commit

Permalink
Update azure/login and azure/cli actions
Browse files Browse the repository at this point in the history
  • Loading branch information
schnerring committed Aug 31, 2024
1 parent 52ea70f commit 3f45baa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
version: ${{ steps.get_latest_version.outputs.version }}
steps:
- name: Azure Login
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Get Latest Version
id: get_latest_version
uses: azure/CLI@v1
uses: azure/cli@v2
with:
azcliversion: ${{ env.AZ_CLI_VERSION }}
inlineScript: |
Expand All @@ -60,13 +60,13 @@ jobs:
exists: ${{ steps.get_image.outputs.exists }}
steps:
- name: Azure Login
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Check If Image Exists
id: get_image
uses: azure/CLI@v1
uses: azure/cli@v2
with:
azcliversion: ${{ env.AZ_CLI_VERSION }}
inlineScript: |
Expand Down Expand Up @@ -122,12 +122,12 @@ jobs:
uses: actions/checkout@v2

- name: Azure Login
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Cleanup Resource Group
uses: azure/CLI@v1
uses: azure/cli@v2
with:
azcliversion: ${{ env.AZ_CLI_VERSION }}
inlineScript: |
Expand Down

0 comments on commit 3f45baa

Please sign in to comment.