GitHub Actions-1 : Creating CI/CD pipeline for Java application, and building and pushing it to Docker Hub using GitHub Actions.

In this article, we will create a GitHub Actions pipeline, using Maven as a build automation tool, Docker as a containerization solution, and Docker Hub as a hosted repository service. We’ll use a Java application as an artifact. Whenever someone pushes on the branch of your repository, a pipeline will be triggered and run jobs described in the configuration yaml file. Maven will build Java code then Docker will build an image from it, and finally, our pipeline will push the image to our Docker Hub repo. We will observe the pipeline’s output ve Docker Hub to see it running. We will do it all step by step.
Also, we will talk about the GitHub Actions CI/CD concept and terms.

Cumhur Akkaya
13 min readJun 27, 2023

Topics we will cover:

--

--

Cumhur Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦ linkedin.com/in/cumhurakkaya