Skip to content

Commit

Permalink
updated Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
satyam7world committed Dec 25, 2023
1 parent 4016254 commit d69723d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@
## 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.

### Guides
* #### Local Build with Dockerfile
## Guides
* ### Local Build with Dockerfile

``docker build -t satyam7world/spring_boot_docker_github_action .``

* ### With GitHub Actions
>1. Have a look at [image_push.yml](https://github.com/satyam7world/SpringBootDockerGithubAction/blob/master/.github/workflows/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``

``docker build -t image_name .``

* #### With Github Actions

### Reference Documentation

Expand Down

0 comments on commit d69723d

Please sign in to comment.