generated from microsoft/vscode-remote-try-node
-
Notifications
You must be signed in to change notification settings - Fork 50
35 lines (33 loc) · 1010 Bytes
/
deploy-apps-bicep.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: deploy-infrastructure-with-apps
on:
workflow_dispatch:
inputs:
explorerContainerImageTag:
description: 'Container Image Tag'
required: true
default: 'latest'
calculatorContainerImageTag:
description: 'Container Image Tag'
required: true
default: 'latest'
permissions:
id-token: write
contents: read
jobs:
deploy_infra:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- name: 'Az CLI login'
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: 'Run az commands'
run: |
az deployment group create -g ${{ secrets.RESOURCE_GROUP }} -f ./deploy/apps.bicep \
-p explorerImageTag=$VERSION \
-p calculatorImageTag=$VERSION \
-p containerRegistryOwner=${{ github.repository_owner }}