Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.33 KB

Readme.md

File metadata and controls

32 lines (20 loc) · 1.33 KB

Spring Boot Kotlin + Docker + Github Actions

About this Project

This is a BoilerPlate Project that contains a Multistaged Dockerfile for dockerizing the spring boot app, also it has a Github Actions (CI/CD) .yaml file for automatially creating docker image on cloud and pushing it to registry.

Guide

  • Local Build with Dockerfile

docker build -t satyam7world/spring_boot_docker_github_action .

  • With GitHub Actions

  1. Have a look at image_push.yml .
  2. Create repository secrets for dockerhub login.
  3. action will run on new push.
  • Running the Spring Boot Rest Server (Docker).

  1. docker run -d -p 80:8080 --restart=always satyam7world/spring_boot_docker_github_action

Reference Documentation

For further reference, please consider the following sections:

now. testing my webhook, that is why added this line