File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : (Azure) Сompreface AIB image
3+ on :
4+ workflow_dispatch :
5+ jobs :
6+ build-image :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v2
11+
12+ - name : Login via Az module
13+ uses : azure/login@v1
14+ with :
15+ creds : ${{secrets.AZURE_CREDENTIALS}}
16+
17+ - name : BUILD-CUSTOM-VM-IMAGE
18+ uses : azure/build-vm-image@v0
19+ with :
20+ resource-group-name : ' myResourceGroup'
21+ managed-identity : ' myImageBuilderIdentity'
22+ location : ' eastus2'
23+ source-os-type : ' linux'
24+ source-image : Canonical:UbuntuServer:18.04-LTS:latest
25+ customizer-script : |
26+ sh /tmp/workflow-artifacts/install.sh
27+ dist-type : ' SharedImageGallery'
28+ dist-resource-id : ' /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/AppTeam/images/ImagesWithApp'
29+ dist-location : ' eastus2'
You can’t perform that action at this time.
0 commit comments