Deploy a Bicep Template From an Azure Pipeline

Published: 14 March 2023
on channel: Rowan Lea
1,327
16

Deploying your Infrastructure as Code with Bicep on Azure doesn't need to be hard.

Today we'll look at how to deploy your cloud services using Bicep templates, and how to call them in your Azure DevOps pipelines, using Azure Container Registry as our example service.

-------------------------------------

What's on the agenda for today?
00:00 Introduction
01:01 Adding the Docker template
01:27 Adding the Bicep template
02:13 Setting up our pipeline
02:41 Setting up a service connection
03:24 Setting subscription permissions
03:44 Calling our Bicep from our pipeline
05:13 Deploying our container from the pipeline
06:45 Getting our Service Principal information
07:47 Create a container instance to test our app
08:30 Thanks for watching!

-------------------------------------

Microsoft template for Dockerfile:
https://learn.microsoft.com/en-us/dot...

Microsoft template for main.bicep:
https://learn.microsoft.com/en-us/azu...

Source code (Docker powershell script in azure-pipelines.yml):
https://github.com/rowanlea/BicepPipe...

-------------------------------------

If you need any help with Azure feel free to contact me through YouTube or any of the links below.

My Links:
► Website: https://rowanlea.co.uk/
► GitHub: https://github.com/rowanlea
► LinkedIn:   / rowan-lea  
► Twitter:   / rowanlea1  

You can also message me personally at: [email protected]

-------------------------------------

Join in and don't miss out by subscribing and returning weekly for the freshest and most exciting videos around!

#azure #bicep #pipeline #deployment


Watch video Deploy a Bicep Template From an Azure Pipeline online without registration, duration hours minute second in high quality. This video was added by user Rowan Lea 14 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,327 once and liked it 16 people.