Skip to content

Commit f10db8e

Browse files
committed
chore: Build auf Gitlab und SBOM Generierung für Flowable Modeler Server (#2071283)
sbom creation overhaul
1 parent 9e6a4d5 commit f10db8e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/sbom.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- created
77

88
jobs:
9-
test_jdk:
9+
build_java_and_docker:
1010
name: Linux (JDK 13)
1111
runs-on: ubuntu-latest
1212
steps:
@@ -19,13 +19,13 @@ jobs:
1919
- name: Install
2020
run: ./mvnw install -V -B --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
2121
- name: Build an image from Dockerfile
22-
run: docker/all-in-one/build.sh
22+
run: docker/all-in-one/build.sh ${{ github.ref_name }}
2323

2424
sbom:
2525
name: Generate merged SBOM
2626
if: github.event_name == 'release' || (github.ref_name == 'main' && github.event_name != 'pull_request')
2727
runs-on: ubuntu-latest
28-
needs: test_jdk
28+
needs: build_java_and_docker
2929
steps:
3030
- uses: actions/checkout@v6
3131

docker/all-in-one/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
dir >> log.txt
33
BASE_PWD="$PWD"
4-
FLOWABLE_VERSION=6.5.0
4+
FLOWABLE_VERSION=${1:-6.5.0}
55

66
echo "Initializing for version $FLOWABLE_VERSION"
77

@@ -37,4 +37,4 @@ cd $BASE_PWD
3737

3838
echo "Building Docker image for version: $FLOWABLE_VERSION"
3939

40-
docker build -t adito/flowable:2026.0.1 .
40+
docker build -t adito/flowable:$FLOWABLE_VERSION .

0 commit comments

Comments
 (0)