Skip to content

Commit

Permalink
Update azure/docker-login action to docker/login-action (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgarvison committed May 15, 2024
1 parent b610e9c commit cea9524
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,8 @@ jobs:
tenant-id: ${{ secrets.AZURE_SERVICE_PRINCIPAL_TENANT }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Login to Azure Container Registry
uses: azure/docker-login@v1.0.1
with:
login-server: ${{ secrets.AZURE_REGISTRY_URL }}
username: ${{ secrets.AZURE_REGISTRY_USERNAME }}
password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
- name: Log in to Azure Container Registry
run: az acr login --name ${{ secrets.AZURE_REGISTRY_USERNAME }}

- name: Cleanup Registry
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_example_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
uses: actions/checkout@v4

- name: Log in to Azure Container Registry
uses: azure/docker-login@v1.0.1
uses: docker/login-action@v3
with:
login-server: ${{ secrets.AZURE_REGISTRY_URL }}
registry: ${{ secrets.AZURE_REGISTRY_URL }}
username: ${{ secrets.AZURE_REGISTRY_USERNAME }}
password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}

Expand Down

0 comments on commit cea9524

Please sign in to comment.