From the course: .NET Microservices for Azure Developers
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Creating a workflow to log into Azure - Azure Tutorial
From the course: .NET Microservices for Azure Developers
Creating a workflow to log into Azure
- [Instructor] Now that we have the secret for connecting to Azure, let's create our first GitHub actions workflow. So let's navigate to Actions. And here, you can select from different templates. However, I'm going to use "set up a workflow yourself," and let's type the contents of the workflow, such as the name, this case Wisdom Pet Medicine, and then how you want this workflow to be executed, in this case, when there's a change in the following branch, which is this one. And speaking of which, be sure to use the correct branch. So I'm going to switch to the following branch and paste the code that I had. Okay, so now I'm working in the branch that I want. And now, we can specify the jobs, in this case, build. It's going to run on the following kind of virtual machine, which is a ubuntu-latest. Of course, you can also use Windows if you want. And then the steps. Here, you can specify all the different steps and each step could use a GitHub action. So for instance, I want to use the…
Contents
-
-
-
-
-
Creating the service principal and configuring the repo2m 40s
-
(Locked)
Creating a workflow to log into Azure3m 23s
-
(Locked)
Creating the Azure Container Registry resource2m 3s
-
(Locked)
Creating the Dockerfile in Visual Studio1m 52s
-
(Locked)
Modifying the workflow to create the container images4m 55s
-
(Locked)
Challenge: Formatting the container image tags1m 19s
-
(Locked)
Solution: Formatting the container image tags1m 21s
-
-
-
-