Skip to content

Bump org.springframework.boot:spring-boot-maven-plugin (#86) #53

Bump org.springframework.boot:spring-boot-maven-plugin (#86)

Bump org.springframework.boot:spring-boot-maven-plugin (#86) #53

Workflow file for this run

name: Build - Platform
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Set up JDK Corretto 20
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '20'
architecture: x64
- name: Maven Build
run: mvn clean install
- name: Build and Push Docker Image
run: |
docker buildx create --name dirigible-builder
docker buildx use dirigible-builder
cd application
docker buildx build --tag custom-stack -o type=image --platform=linux/arm64,linux/amd64 .
docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker buildx build --push --tag ghcr.io/dirigiblelabs/custom-stack:latest -o type=image --platform=linux/arm64,linux/amd64 .
integration-tests:
runs-on: ${{ matrix.os }}-latest
continue-on-error: true
strategy:
matrix:
os: [ macos ]
steps:
- name: Setup Chrome
uses: browser-actions/[email protected]
with:
chrome-version: stable
- if: runner.os == 'Linux'
run: chrome --version
- if: runner.os == 'macOS'
run: '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version'
- if: runner.os == 'Windows'
run: (Get-Item (Get-Command chrome).Source).VersionInfo.ProductVersion
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Set up JDK Corretto 21
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 21
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install esbuild
run: npm i -g esbuild
- name: Install TypeScript compiler
run: npm i -g typescript
- name: Integration tests
run: mvn clean install -P integration-tests
- name: Upload selenide screenshots
uses: actions/[email protected]
if: always()
with:
retention-days: 1
name: selenide-screenshots
path: application/build/reports/tests