Skip to content

Updated the workflow #15

Updated the workflow

Updated the workflow #15

Workflow file for this run

name: OnlineBookStoreImageBuild
on: [push]
jobs:
build-image:
name: Build the image
runs-on: ubuntu:latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- run: mvn --batch-mode --update-snapshots verify
- run: mkdir staging && cp target/*.war staging/books.war
- name: Image build using Dockerfile
run :
docker build -t aapurva/java-webapps:v1.0.0 .