From 79266294f7837dd6c37ece3cdeaec75e5b838581 Mon Sep 17 00:00:00 2001 From: alexm Date: Sat, 27 Jun 2026 15:36:15 -0400 Subject: [PATCH] ci: add builder pipeline analog of the GitHub Actions workflow Translates .github/workflows/maven.yml into a builder pipeline: push(main)+manual trigger, Maven package in a temurin-17 image with a cached local .m2 repository. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01DwSZP6cxy4haqynzgcNHVV --- .builder/pipelines/maven.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .builder/pipelines/maven.yml diff --git a/.builder/pipelines/maven.yml b/.builder/pipelines/maven.yml new file mode 100644 index 0000000..3f669e8 --- /dev/null +++ b/.builder/pipelines/maven.yml @@ -0,0 +1,15 @@ +name: Java CI with Maven +on: [push, manual] +push: + branches: [main] +jobs: + build: + image: maven:3.9-eclipse-temurin-17 + cache: + key: m2-spring-boot-playground + paths: [.m2/repository] + steps: + - name: Checkout + run: git clone --depth 1 https://github.com/alexmond/spring-boot-playground.git . + - name: Build with Maven + run: mvn -B package --file pom.xml -Dmaven.repo.local=.m2/repository