Skip to content

runtime-v1, runtime-v2: Capture docker output in separate threads. #1818

runtime-v1, runtime-v2: Capture docker output in separate threads.

runtime-v1, runtime-v2: Capture docker output in separate threads. #1818

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:
profile: [ 'jdk17', 'jdk17-aarch64' ]
include:
- jdk_version: '17'
- profile: 'jdk17'
runs_on: ubuntu-latest
- profile: 'jdk17-aarch64'
runs_on: [ linux, ARM64 ]
fail-fast: false
runs-on: ${{ matrix.runs_on }}
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
env:
SKIP_DOCKER_TESTS: "true"
# re-enable old agent tests once we are several versions ahead
SKIP_OLD_AGENT_TESTS: "true"
run: ./mvnw -s .github/settings.xml -B clean install -Pgha -Pdocker -Pit -P${{ matrix.profile }}