azure/Deploy to Azure Container Instances

Deploy to Containers to Azure Container Instances. github.com/Azure/Actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 20, 2021
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: azure/aci-deploy@28cafb864979bc5b44cd1f3fd45522727eb5a3db # v1.1.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
resource-groupName of the Resource Group in which the Container Instance will be createdyes
azure-file-volume-account-keyThe storage account access key used to access the Azure File Shareno""
azure-file-volume-account-nameThe name of the storage account that contains the Azure File Shareno""
azure-file-volume-mount-pathThe path within the container where the Azure File Volume should be mounted. Must not contain ":"no""
azure-file-volume-share-nameThe name of the Azure File Share to be mounted as a volumeno""
azure-file-volume-read-onlyShould the Azure File Share be Mounted as Read Only. Accepted { true, false }no""
command-lineThe command line to run when the container is started, e.g. "/bin/bash -c myscript.sh"no""
cpuNumber of CPU Cores Requiredno1
dns-name-labelThe DNS Name Label for Container with Public IPyes
environment-variablesList of environment variables for the container. Space-seperated in "key=value" formatno""
gitrepo-dirThe target directory path in the git repository. Must not contain ".."no""
gitrepo-mount-pathThe path within the container where the git repo volume should be mounted. Must not contain ":"no""
gitrepo-revisionThe commit hash for the specified revisionno""
gitrepo-urlThe URL of a git repository to be mounted as a volumeno""
gpu-countThe Number of GPU Resources needed in the Containerno""
gpu-skuThe SKU for the GPUs specified. Accepted Values are { K80, P100, V100 }""
imageSpecify the fully qualified container image name. For example, "myregistry.azurecr.io/nginx:latest" or "python:3.7.2-alpine/"yes
ip-addressIP Address type of the Container Group. Accepted Values are { Private, Public }.Currently it only supports { Public }noPublic
locationLocation where the Container will be deployedyes
log-analytics-workspaceThe Log Analytics Workspace Name or Idno
log-analytics-workspace-keyThe Log Analytics Workspace Keyno
log-typeThe Log type to be used. Accepted Values are { ContainerInsights, ContainerInstanceLogs }no
memoryRequired Memory of the Containers in GB, accurate to one decimal placeno1.5
nameName of the Container Group Instanceyes
os-typeThe OS type of the Containers. Accepted Values are { Linux, Windows }noLinux
portsThe Ports to Open on the Container. Space seperate the ports for multiple valuesno80
protocolThe Network protocol to use. Accepted Values are { TCP, UDP }noTCP
registry-login-serverThe container image registry login serverno""
registry-usernameUsername to log in Container Image Registry Serverno""
registry-passwordPassword to log in Container Image Registry Serverno""
restart-policyRestart Policy for the container(s). Accepted Values are { Always, OnFailure, Never }noAlways
secure-environment-variablesList of secure environment variables for the container. Space seperated values in "key=value" format""
namedescription
app-urlURL of the Deployed Application