Skip to content

Workflow file for this run

name: Docker CI Pipeline for Java Project
on:
pull_request:
branches:
- main
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
run: docker build -t java-test-app .
- name: Run tests in Docker container
run: docker run --rm java-test-app