Unlocking Manual Workflow Execution in GitHub Actions: A Quick Fix

Screenshot from GitHub Actions showing the workflow tab with the option to run the workflow. The image highlights the 'Run workflow' button, indicating that the workflow can be manually triggered. This option is available, allowing users to initiate the workflow process directly from the GitHub Actions interface.

If you’re working with CI/CD pipelines and GitHub Action workflows, there might be instances where you need to manually run a workflow. However, you might have noticed that when you attempt to do this through the portal, you realize that there’s no option available for manual execution. In this blog post, I’ll provide a quick … Read more

If, elseif or else in GitHub Actions

One of the lesser-explored yet incredibly powerful features of GitHub Actions is its support for conditional expressions. In this blog post, we’ll dive into the world of conditional expressions, specifically focusing on the ‘if,’ ‘elseif,’ and ‘else’ expressions, and explore how they can be leveraged to create more dynamic and efficient workflows. I did write … Read more

Natural Language Infrastructure as Code: Is it the future of Cloud Automation?

Infrastructure as Code (IaC) has really revolutionised the way we manage and deploy our cloud resources. By treating infrastructure as code, we can automate the provisioning and management of cloud resources, making it faster, more reliable, and more scalable all while including the ability to have full source control benefits. However, writing IaC can be … Read more

How to use GitHub Actions environment variables

In this blog, we will explore how to use environment variables in GitHub Actions, including how to create and use them in your workflows. Environment variables are an essential part of any software development process, and GitHub Actions makes it easy to manage them. Environment variables are values that are stored outside of your source … Read more

Yarn Build and deploy image to Azure Container Registry using GitHub Actions

In this blog post I will show you can use a GitHub Action to run Yarn build and deploy a container image to Azure Container Registry. Prior to continuing with this blog, please review this post in relation to setting up the Azure Container registry and creating the three secrets required to be included in … Read more

Storing and retrieving secrets in Azure Key Vault with GitHub Actions

Screenshot of a GitHub Actions job creating resource groups using secret values. The image shows the az CLI commands in the workflow logs, where resource groups are being created with values sourced from GitHub Secrets. It includes the commands with hashed or masked secret values, indicating that the resource groups are being configured securely using the secrets

Using GitHub Actions and wanting to store secrets security while utilising Azure? In this blog post I will be showing how you can create and store secrets in Azure Key Vault and retrieve them to be used as part of your GitHub Actions. I wrote a bash script to achieve this as Azure/get-keyvault-secrets@v1 has been … Read more

Build and push Docker Image to Azure Container Registry using GitHub Action

Screenshot of a GitHub Actions job for Docker build and push to Azure Container Registry (ACR), showing all stages as successful. The image highlights the workflow steps, including building the Docker image and pushing it to ACR, with green check marks indicating that each stage completed without errors.

In this blog post I am going to show how you can build and push Docker Images to Azure Container Registry (ACR) using a GitHub Action. Creating Azure Container Registry We will use Az CLI to create the Azure Container Registry, script below: A successful run of the above script will create a resource group … Read more

Deploy your first container app using Terraform and GitHub Actions tutorial/lab

High-Level Diagram (HLD) illustrating the workflow from a GitHub repository to deployment on Azure services. The diagram shows a GitHub repository with GitHub Actions configured to build and push images to Azure Container Registry (ACR). It also depicts the deployment of these images from ACR to an Azure Container App using a managed identity for secure access. Additionally, the diagram includes integrations with Application Insights and Log Analytics for monitoring and logging purposes.

This tutorial/lab has been created to take you through a DevOps journey to build & deploy an Azure Container Application using Terraform and GitHub Actions. It will include from setting up the GitHub pipeline, prerequisites and finishing with a successful Container Application being deployed – along with looking at alerting/monitoring! This is also my contribution … Read more

Using variables to dynamically check out a repository using a specific branch or tag in Azure DevOps Pipelines

In Azure DevOps pipeline, you might want to check out a repository using a specific branch or tag, in this blog post – I am going to show how you can use variables to dynamically achieve this! Why dynamic? My thought on creating pipelines is that I usually want it to be as dynamic as … Read more

Deploying a container image to Azure Container Registry using a GitHub Action with Azure CLI

Screenshot from Azure Container Registry (ACR) showing the sampleapp repository with two image tags. The image highlights the repository details, including the listed tags and their associated images

Storing your application container images in Azure Container Registry(ACR)? In this blog post, I am going to show how you can deploy a new container image to ACR automatically using a GitHub Action when there has been a merge to the main branch in GitHub GitHub Repository Secrets To start, we need to create two … Read more