Skip to content

Set docker build for 2.1.2 #47

Set docker build for 2.1.2

Set docker build for 2.1.2 #47

Workflow file for this run

name: Maven build
on:
push:
pull_request:
permissions: # added using https://github.com/step-security/secure-repo
contents: read
env:
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false --batch-mode
jobs:
build:
runs-on: ubuntu-latest
# avoid duplicate jobs on PRs from the main repo
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/setup-java@3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98 # v3.10.0
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- name: Build with Maven
run: cd testcontainers && mvn clean install $MAVEN_CLI_OPTS
- name: Remove geomesa artifacts
if: success() || failure()
run: rm -rf ~/.m2/repository/org/geomesa