Azure Functions Docker Deployment
Azure Functions Docker Deployment Workflow
The Azure Functions Docker Deployment workflow includes the following steps:
Build Step (Jenkins)
ACR Push
Azure Functions
*More steps can be added following the Azure Function step if needed.
Azure ACR Push Pipeline Step Configuration
Once the initial Step Setup is configured with the Azure ACR Push tool, set the following values:
Jenkins Tool - Select a configured Jenkins tool from Tool Registry.
Jenkins Job - Select the Azure Docker Push job that was created in the selected Jenkins tool.
Build Step - Select the name of the preceding build step.
Azure Tool - Select the configured Azure Account Legacy tool from Tool Registry.
Resource - Value found in the Azure portal.
Azure Registry - Select the container registry to push the images into.
Use Existing Repository - Toggle on to view and select an existing repository in the Azure Registry to push the images into. Toggle off to create a new repository where the images will be pushed. Then enter a unique name for the new repository.
Repository Name - Select the name of the repository in the container to push to.
Select Save and proceed to setting up the next pipeline steps.
Azure Functions Docker Deployment Pipeline Step Configuration
Once the initial Step Setup is configured with the Azure Functions tool, set the following values:
Deployment Type - Select Docker Deployment.
Azure Tool - Select a configured Azure tool from the Tool Registry.
Azure Credential - Fetched from Applications of the selected Azure Tool.
Azure Push Step - Select the corresponding configured Azure Push Step from the drop-down.
Select Save.
Deployment Verification
Once the pipeline has successfully run, you can view what you have deployed within the Console Log (in pipeline Activity Log) to see what has actually been deployed by selecting the final output link:
Â