Summary

Completed

You're now able to automate application image building and deployment by using CI/CD with GitHub Actions. You created a workflow that triggers when a developer on your team pushes a code change to the main branch. The workflow builds and pushes the application image to the Contoso Azure Container Registry instance.

Then, when someone on your development team creates a release from that push, a new pipeline triggers and deploys the application to your Azure Kubernetes Service (AKS) cluster without manual effort. This solution means your team doesn't have to spend time and effort on manually building and deploying application images for every new feature on the Contoso Video website.

Clean up resources

In this module, you created resources in your Azure subscription. Use the following procedures to clean up these resources so there's no continued charge against your account.

Azure resources

  1. In the Azure portal, search for and select resource groups, and then select the resource group you used for this module from the list.

  2. On the Overview page, select Delete resource group.

  3. To confirm the deletion and delete all the resources you created in this module, enter the name of the resource group, and select Delete.

  4. Repeat the preceding steps for the corresponding resource group that starts with MC_mslearn-gh-pipelines.

  5. Go to App registrations and select your app from the list.

  6. On the Overview page, select Delete.

  7. On the Delete app registration page, select Delete, which also deletes the federated credentials.

GitHub

  1. Go to your fork of the Contoso Video repository.

  2. Select the Settings tab.

  3. Scroll down and select the red Delete this repository button. To confirm the deletion, enter the full name of the repository.

  4. To delete the PAT you created, select your profile photo, then select Settings.

  5. Select Developer settings.

  6. Select Personal access tokens.

  7. Select Delete. When the pop-up window appears, select I understand, delete this token.

Learn more

To learn more about AKS and GitHub Actions, see the following articles and Microsoft Learn modules: