Skip to content

Update CATALINA_OPTS with --add-opens and add-exports for Java 17 use #60

Update CATALINA_OPTS with --add-opens and add-exports for Java 17 use

Update CATALINA_OPTS with --add-opens and add-exports for Java 17 use #60

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Build image
run: docker build -t geoserver-docker.osgeo.org/geoserver:${{ github.sha }} .
- name: Run trivy
uses: aquasecurity/trivy-action@master
with:
format: 'sarif'
ignore-unfixed: true
image-ref: 'geoserver-docker.osgeo.org/geoserver:${{ github.sha }}'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
vuln-type: 'os,library'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@294a9d92911152fe08befb9ec03e240add280cb3 # v3
with:
sarif_file: 'trivy-results.sarif'