This repository was archived by the owner on Sep 26, 2025. It is now read-only.
Bump org.springframework:spring-web from 6.2.9 to 6.2.11 #1720
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Build | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 * * *" | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java-version: [ 17, 21 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java-version }} | |
- name: Cache Maven packages | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 | |
run: mvn -B install --file pom.xml -s .mvn/settings.xml | |
- name: Push container images | |
env: | |
REGISTRY_USER: ${{ github.actor }} | |
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
echo $REGISTRY_PASSWORD | docker login ghcr.io -u $REGISTRY_USER --password-stdin | |
mvn -B package --file pom.xml -Pcontainer -DskipTests -s .mvn/settings.xml | |
docker push ghcr.io/oracle/coherence-spring-sockshop-carts:latest | |
docker push ghcr.io/oracle/coherence-spring-sockshop-catalog:latest | |
docker push ghcr.io/oracle/coherence-spring-sockshop-orders:latest | |
docker push ghcr.io/oracle/coherence-spring-sockshop-payment:latest | |
docker push ghcr.io/oracle/coherence-spring-sockshop-shipping:latest | |
docker push ghcr.io/oracle/coherence-spring-sockshop-users:latest | |
if: "github.event_name == 'push' && matrix.java-version == 17" |