Skip to content

build(deps): bump docker/build-push-action from 4.1.1 to 4.2.1 (#675) #759

build(deps): bump docker/build-push-action from 4.1.1 to 4.2.1 (#675)

build(deps): bump docker/build-push-action from 4.1.1 to 4.2.1 (#675) #759

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main, production ]
push:
branches: [ main, production ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ecosystem: [adoptium, adoptopenjdk]
steps:
- name: Setup mvnw arguments
run: |
case ${{ matrix.ecosystem }} in
adoptium) echo "ARGS=-Padoptium,-adoptopenjdk" >> $GITHUB_ENV ;;
adoptopenjdk) echo "ARGS=-Padoptopenjdk,-adoptium" >> $GITHUB_ENV ;;
esac
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
persist-credentials: false
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Build app
run: ./mvnw --batch-mode clean install ${{ env.ARGS }}