Skip to content

project: skip tests that require custom docker config on GHA #1024

project: skip tests that require custom docker config on GHA

project: skip tests that require custom docker config on GHA #1024

Workflow file for this run

name: build
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
concurrency:
group: ${{ github.ref }}-build
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
jdk_version: [ '17' ]
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver: docker
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.OSS_DOCKERHUB_USERNAME }}
password: ${{ secrets.OSS_DOCKERHUB_PASSWORD }}
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '${{ matrix.jdk_version }}'
distribution: 'temurin'
- name: Checkout
uses: actions/checkout@v3
- name: Build and test with Maven
run: ./mvnw -s .github/settings.xml -B clean install -Pgha -Pdocker -Pit -Pjdk${{ matrix.jdk_version }}
- name: Build with debian docker images
run: ./mvnw -s .github/settings.xml -C -B -f docker-images install -DskipTests -Pgha -Pdocker -Pdebian -Pjdk${{ matrix.jdk_version }}