next try
This commit is contained in:
parent
007b812d7a
commit
fa86609db9
2 changed files with 10 additions and 9 deletions
13
.github/workflows/app.yml
vendored
13
.github/workflows/app.yml
vendored
|
@ -47,15 +47,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- 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: Test bicep
|
- name: Test bicep
|
||||||
run: az bicep build --file ./infrastructure/main.bicep --stdout
|
uses: Azure/cli@v2
|
||||||
|
with:
|
||||||
|
inlineScript: |
|
||||||
|
az bicep build --file ./infrastructure/main.bicep --stdout
|
||||||
|
|
||||||
- name: Build container images
|
- name: Build container images
|
||||||
run: |
|
run: |
|
||||||
|
@ -97,7 +93,6 @@ jobs:
|
||||||
- name: Deploy bicep
|
- name: Deploy bicep
|
||||||
uses: Azure/cli@v2
|
uses: Azure/cli@v2
|
||||||
with:
|
with:
|
||||||
azcliversion: 2.66.0
|
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
az deployment sub create \
|
az deployment sub create \
|
||||||
--location westeurope \
|
--location westeurope \
|
||||||
|
|
|
@ -8,5 +8,11 @@
|
||||||
"registry": "acreuwprdtricep.azurecr.io"
|
"registry": "acreuwprdtricep.azurecr.io"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"cloud": {
|
||||||
|
"currentProfile": "AzureCloud",
|
||||||
|
"credentialPrecedence": [
|
||||||
|
"AzureCLI"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue