FEAT: Slimmer Docker image #371
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR QA | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Checkout and Build | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [8, 11, 17, 21] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: JDK setup | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
docker_build: | |
name: Build a test Docker image and add to GH container registry | |
needs: [ build ] | |
uses: veraPDF/veraPDF-rest/.github/workflows/test-dkr-build.yml@integration | |
docker_test: | |
name: Deploy and test the image built in previous step | |
needs: [ docker_build ] | |
uses: veraPDF/veraPDF-rest/.github/workflows/test-dkr-image.yml@integration |