Skip to content

Commit

Permalink
Update instance-deploy-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benchiverton committed Jun 24, 2024
1 parent efc0e88 commit b6a1e10
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/instance-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,14 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: 'Deploy to Azure Container Instances'
uses: 'azure/aci-deploy@v1'
uses: 'azure/container-apps-deploy-action@v1'
with:
resource-group: ${{ env.resource_group_name }}
dns-name-label: ${{ env.resource_group_name }}${{ github.run_number }}
image: onlinestorecontainerregistry.azurecr.io/onlinestore-api:${{ github.sha }}
registry-login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
registry-username: ${{ secrets.ACR_USERNAME }}
registry-password: ${{ secrets.ACR_TOKEN }}
name: onlinestore-api
acrName: onlinestorecontainerregistry.azurecr.io
containerAppName: onlinestore-api
resourceGroup: ${{ env.resource_group_name }}
imageToDeploy: onlinestorecontainerregistry.azurecr.io/onlinestore-api:${{ github.sha }}
acrUsername: ${{ secrets.ACR_USERNAME }}
acrPassword: ${{ secrets.ACR_TOKEN }}
location: 'East US'
- name: Run Azure webapp deploy for website
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit b6a1e10

Please sign in to comment.