This commit is contained in:
Chris Kruining 2024-11-28 11:31:07 +01:00
parent 007b812d7a
commit fa86609db9
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 10 additions and 9 deletions

View file

@ -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 \

View file

@ -8,5 +8,11 @@
"registry": "acreuwprdtricep.azurecr.io" "registry": "acreuwprdtricep.azurecr.io"
} }
} }
},
"cloud": {
"currentProfile": "AzureCloud",
"credentialPrecedence": [
"AzureCLI"
]
} }
} }