Skip to content

Commit

Permalink
Merge pull request #9 from AI-READI/deploy_fix
Browse files Browse the repository at this point in the history
docker push var
  • Loading branch information
ejdysinger authored Mar 20, 2024
2 parents bb00e23 + a13ac63 commit bae507f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@ jobs:
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker build . --tag dqd-shiny-app:$(date +%s)${{ github.sha }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/${{ secrets.AZURE_CONTAINERAPP_NAME }}:${{ secrets.AZURE_CONTAINERAPP_DEPLOYMENT_SLOT }}${{ github.sha }}
- name: 'Build and push image'
uses: azure/container-apps-deploy-action@v1
with:
acrName:
containerAppName: my-container-app
resourceGroup: my-rg
imageToDeploy: myregistry.azurecr.io/app:${{ github.sha }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/${{ env.AZURE_CONTAINERAPP_NAME }}:${{ env.AZURE_CONTAINERAPP_DEPLOYMENT_SLOT }}${{ github.sha }}
- name: 'Deploy to Azure Container Instances'
uses: 'azure/aci-deploy@v1'
Expand Down

0 comments on commit bae507f

Please sign in to comment.