Azure / functions-container-action

Enable GitHub developers to deploy to Azure Function Apps Containers using GitHub Actions
MIT License
26 stars 14 forks source link

Private container registry usage (ACR) #5

Closed marvinbuss closed 4 years ago

marvinbuss commented 4 years ago

How can we deploy a container that is not public and stored in a private container registry? Looks like there is no input that we can provide to make this happen. Would be great, if you could show how we can achieve this with this action.

marvinbuss commented 4 years ago

@Hazhzeng Will this be possible in a future release?

marvinbuss commented 4 years ago

@N-Usha I anyone taking care of this?

N-Usha commented 4 years ago

For webapps, we set the container registry credentials as app settings. I assume the same should work with functions too. @Hazhzeng to confirm.

N-Usha commented 4 years ago

@marvinbuss - Did you try using this template: https://github.com/Azure/actions-workflow-samples/blob/master/FunctionApp/linux-container-functionapp-on-azure.yml