Skip to content

For retrieving all the admin messages, EntityManager and JdbcTemplate… #24

For retrieving all the admin messages, EntityManager and JdbcTemplate…

For retrieving all the admin messages, EntityManager and JdbcTemplate… #24

Workflow file for this run

name: Java CI with Maven
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Build with Maven
run: chmod +x mvnw
- name: Install
run: echo 'Hello Badri Paudel'
- name: Run APP
run: ./mvnw spring-boot:run
- name : Build and push docker image
uses: mr-smithers-excellent/docker-build-push@v6
with:
# This is private repo
image: badripaudel77/info_keeper_github_action
#tags: v1, latest
tags: latest_ga
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}