raiyanalam/AIB Github Action
A github action to publish images using AIB service
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| location | This is the Azure region in which the Image Builder will run. | yes | — |
| resourceGroupName | This is the Resource Group where the temporary Imagebuilder Template resource will be created. | — | — |
| imagebuilderTemplateName | The name of the image builder template resource to be used for creating and running the Image builder service. | — | — |
| nowaitMode | The value is boolean which is used to determine whether to run the Image builder action in Asynchrnous mode or not. | — | false |
| buildTimeoutInMinutes | The value is an integer which is used as timeout in minutes for running the image build. | — | 80 |
| vmProfile | You can override the VM size, from the default value i.e. Standard_D1_v2. | — | Standard_D1_v2 |
| sourceImageType | [ marketplace | SharedGalleryImage | ManagedImage ] | — | marketplace |
| sourceOSType | OS types supported: [ linux | windows ]. | yes | — |
| sourceImage | Value of source-image supported by Azure Image Builder. | yes | — |
| customizerSource | This takes the path to a directory or a file in the runner. By default, it points to the default download directory of the github runner. | — | — |
| customizerDestination | The default path of customizer-destination would depend on the OS defined in source-os-type field. | — | — |
| customizerScript | The customer can enter multi inline powershell or shell commands and use variables to point to directories inside the downloaded location. | — | — |
| customizerWindowsUpdate | The value is boolean and set to false by default. This value is for Windows images only, the image builder will run Windows Update at the end of the customizations and also handle the reboots it requires. | — | false |
| distributorType | ManagedImage | SharedGalleryImage | VHD. | — | ManagedImage |
| distResourceId | Image Resource Id to be created by AIB | — | — |
| distLocation | location of Image created by AIB | — | — |
| runOutputName | Every Image builder run is identified with a unique run id. | — | — |
| distImageTags | The values set will be used to set the user defined tags on the custom image artifact created. | — | — |
Outputs
| name | description |
|---|---|
| imagebuilderRunStatus | This value of this output will be the value of Image builder Run status set to either Succeeded or Failed based on the runState returned by Azure Image Builder. |
| runOutputName | The action emits output value run-output-name which can be used to get the details of the Image Builder Run. |
| customImageURI | Upon successful completion, The github action emits the URI or resource id of the Image distributed. |