Skip to content

feat: remove docker build agent in the pipeline #39

feat: remove docker build agent in the pipeline

feat: remove docker build agent in the pipeline #39

Workflow file for this run

name: OnlineBookStoreImageBuild

Check failure on line 1 in .github/workflows/build_image.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_image.yaml

Invalid workflow file

`pull` is not a valid event name
on: [pull]
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 .