Skip to content

fix: Upgrades springboot to 3.2.5 for CVE-2024-22262 #574

fix: Upgrades springboot to 3.2.5 for CVE-2024-22262

fix: Upgrades springboot to 3.2.5 for CVE-2024-22262 #574

Workflow file for this run

name: Build Images
on:
push:
branches:
- 3.x
- 4.x
paths-ignore:
- "**.md"
workflow_dispatch:
env:
MVN_ARGS: --batch-mode --no-transfer-progress
jobs:
build:
if: github.repository_owner == 'hawtio'
strategy:
fail-fast: false
matrix:
java: ['17', '21']
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- name: Install
run: |
mvn ${MVN_ARGS} install
- name: Build images
run: |
mvn ${MVN_ARGS} install -Dquarkus.container-image.build=true -pl examples/quarkus
mvn ${MVN_ARGS} install -DskipTests -Pe2e -Pdocker-testsuite -Ptests-docker -Dhawtio-container -pl :hawtio-test-suite,:hawtio-tests-quarkus,:hawtio-tests-springboot -am
- name: Display images
run: |
docker images
- name: Push image to Quay.io
env:
USERNAME: ${{ secrets.QUAY_USERNAME }}
PASSWORD: ${{ secrets.QUAY_PASSWORD }}
run: |
docker login -u $USERNAME -p $PASSWORD quay.io
docker tag hawtio-test-suite:${{ matrix.java }} quay.io/hawtio/hawtio-test-suite:${{ github.ref_name }}-${{ matrix.java }}
docker tag hawtio-quarkus-app:${{ matrix.java }} quay.io/hawtio/hawtio-quarkus-test-app:${{ github.ref_name }}-${{ matrix.java }}
docker tag hawtio-springboot-app:${{ matrix.java }} quay.io/hawtio/hawtio-springboot-test-app:${{ github.ref_name }}-${{ matrix.java }}
for image in $(docker images --filter=reference='quay.io/hawtio/*' --format='{{.Repository}}:{{.Tag}}')
do
docker push $image
done