first attempt on creating a new revision from the newly created image
This commit is contained in:
parent
7120a76589
commit
516c744a72
1 changed files with 20 additions and 0 deletions
20
.github/workflows/app.yml
vendored
20
.github/workflows/app.yml
vendored
|
@ -66,3 +66,23 @@ jobs:
|
|||
run: |
|
||||
docker push ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:${{needs.versionize.outputs.semver}}
|
||||
docker push ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:latest
|
||||
|
||||
create_new_revision:
|
||||
name: Create & Activate new revision
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_and_publish
|
||||
steps:
|
||||
- name: Az CLI login
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.CALQUE_PRD_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.CALQUE_PRD_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.CALQUE_PRD_SUBSCRIPTION_ID }}
|
||||
|
||||
- name: Deploy bicep
|
||||
uses: Azure/cli@v2
|
||||
with:
|
||||
azcliversion: 2.66.0
|
||||
inlineScript: |
|
||||
az containerapp update --name calque-app --resource-group rg-euw-prd-calque --image ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:${{needs.versionize.outputs.semver}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue