Fix github action for publishing images to GitHub Packages #135
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 | |
strategy: | |
matrix: | |
java-version: [8, 11, 16, 17] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: JDK setup | |
uses: actions/setup-java@v3 | |
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 |