diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5dadca811..790c295a3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,6 +61,11 @@ jobs: context: . file: appcontainer/Dockerfile push: true - tags: | - ghcr.io/${{ github.repository }}:${{ github.ref_name }} - ghcr.io/${{ github.repository }}:${{ github.sha }} + tags: ghcr.io/${{ github.repository }}:${{ github.sha }} + + - name: Deploy to Azure Web App + uses: azure/webapps-deploy@v2 + with: + app-name: ${{ vars.AZURE_WEBAPP_NAME }} + images: ghcr.io/${{ github.repository }}:${{ github.sha }} + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}