
Explore how GitHub actions enable modern ci cd by building java applications with Maven or Gradle, packaging into Docker images, and deploying to AKs with Terraform and Azure infrastructure.
discover the top ci/cd tools of 2023, including GitHub Actions, GitLab ci/cd, Azure DevOps pipeline, and CircleCI, and learn how they automate application and infrastructure builds and tests.
Explore GitHub actions for ci/cd, from prerequisites like YAML and an Azure trial account to building a Kotlin app with Gradle, Docker, and Azure deployment.
Define workflows in YAML under .github/workflows with triggers like push or pull requests. Run jobs on Windows, Linux, or macOS runners using steps, secrets, artifacts, and actions.
Explore how GitHub Actions automate build, test, and deploy pipelines for apps and infrastructure, with prebuilt actions, live logs, secrets, and multi-platform support.
Generate a Java or Kotlin project via spring initializer, choose Gradle or Maven, build a jar, and run with the Gradle wrapper to prepare deployment on a Kubernetes cluster.
Initialize a Java Gradle project, configure dependencies, and build with Gradle to print hello world, then learn packaging as a jar for deployment with GitHub actions.
Convert the generated Kotlin jar into a Docker image by creating a Dockerfile, building with OpenJDK, exposing port 8080, and pushing to Docker Hub before Kubernetes deployment.
Push and publish a docker image to docker hub by tagging, logging in, and pushing, demonstrating a real-world ci/cd workflow with container registries and deploying to a Kubernetes cluster.
Build the Docker image, push to Docker Hub, and tag it. Deploy to a local Kubernetes cluster with a yaml manifest (kind pod, port 80, tcp) and kubectl apply.
Create a new git repository and push your local code to GitHub, initializing, adding, committing, and pushing to origin on the main branch for a GitHub Actions workflow.
Learn to create and configure a GitHub Actions workflow, define a YAML file in .github/workflows, and trigger continuous integration on pushes and pull requests.
Configure a GitHub Actions CI pipeline to perform a Gradle build of the Kotlin project, verify the Java version, and run Docker checks on a hosted or custom build agent.
Learn to use encrypted GitHub secrets for docker login in actions, including repository, environment, and organization secrets, to build and push docker images in workflows.
Push docker images to docker hub using GitHub Actions, configuring docker login with your docker hub username, and leverage prebuilt actions to build and push, while planning Azure Kubernetes deployment.
Explore deploying a Docker image to an Azure Kubernetes cluster with GitHub Actions, test Azure CLI availability, and implement conditional steps using if always to run subsequent tasks despite failures.
Log into Azure from a GitHub workflow using the Azure login action, injecting client id, client secret, subscription id, and tenant id to enable subsequent Kubernetes deployment steps.
Create an Azure Kubernetes cluster by configuring a resource group, region, availability, and node size, then connect it to GitHub Actions for deployment and verify with kubectl.
Authenticate the Kubernetes cluster from GitHub actions using Azure set-context, then create a new namespace and verify deployment with kubectl commands.
Learn to connect GitHub Actions with Azure Kubernetes service and create a namespace. Deploy a Kotlin app as a container to AKS using a pod manifest and Docker Hub image.
Learn how to split a GitHub Actions workflow into multiple stages within a single job, using needs to sequence build, get the files, and subsequent tasks across environments.
Create a custom task to generate image versions by saving a shortened git sha to GitHub env, then reuse it to tag and push Docker images in subsequent steps.
Automate docker image tagging in GitHub Actions by deriving a unique tag from the GitHub QA variable, then build, push, and verify the tag on Docker Hub.
Create a GitHub Actions workflow to deploy infrastructure on Azure using Terraform, with init and plan steps, offline options, and Azure authentication, enabling infrastructure as code across clouds.
Install terraform on a GitHub runner to enable infrastructure as code deployments with GitHub Actions. Configure a workflow to install terraform, verify version on Ubuntu, and deploy on Azure.
Install terraform and df lint on a GitHub actions runner to enable infrastructure as code, update versions, and validate pipelines for the infrastructure and the Kotlin app.
Create a simple terraform config to deploy an azure resource group using terraform init within a GitHub Actions workflow, including outputting the resource group location.
Authenticate GitHub Actions with Azure using secrets for Azure AD client id, client secret, subscription id, and tenant id to run Terraform plan and apply.
Learn to run Terraform via GitHub Actions using the Terraform GitHub action, configure init, fmt, and plan, manage Azure authentication, and troubleshoot workflow errors.
Use Terraform via GitHub Actions, with conditional execution on main, to deploy infrastructure and manage resources, with formatting, plan/apply/destroy steps, and iterative fixes.
Configure a production environment with reviewers and a wait timer to require manual approval in GitHub Actions, approving or rejecting deployments to production.
Automate your workflow from idea to production
GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. Make code reviews, branch management, and issue triaging work the way you want.
Whether you want to build a container, deploy a web service, or automate welcoming new users to your open source projects—there's an action for that.
GitHub Actions connects all of your tools to automate every step of your development workflow. Easily deploy to any cloud, create tickets in Jira, or publish a package to npm.
Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.
Whether you are new to GitHub Actions or interested in learning all they have to offer, this guide will help you use GitHub Actions to accelerate your application development workflows.
No theory only Hands-on based on real world examples.
Primarily what we are covering is:
Introduction to Github
Pricing
Introduction
CI CD for Application Deployment
Start setting up JAVA application directory
build project using gradlew, push docker image to docker hub
define github-action.yaml in the working repo
Building and Deploying KOTLIN app on Github Actions
Do a docker build on the runner
Create Github Secrets for docker login
use if condition on job failure/success
Azure Login Action Task injecting Secrets
Create an Azure Kubernetes Cluster
Azure Kubernetes Github Action Task
Real world practises
Use Github Action task for docker tasks
create custom task to generate image version
Expression using needs & output
Multi Staged Job
Build & Deploy Infrastructure on Azure
Install Terraform on runner
Install TFLint on runner
Create a TF Config file with Init
Github & Azure Authentication via Secrets