Skip to content

Commit 396400a

Browse files
committed
added swagger profile explicitly to build workflow
1 parent c5f93a5 commit 396400a

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/docker-release-with-latest.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212

13-
- name: Set up JDK 17
13+
- name: Set up JDK 21
1414
uses: actions/setup-java@v3
1515
with:
1616
distribution: 'temurin'
17-
java-version: '17'
17+
java-version: '21'
1818

1919
- name: Get current project meta
2020
id: meta
@@ -23,15 +23,13 @@ jobs:
2323
- name: Build Docker images with Maven
2424
run: |
2525
mvn clean package -B -Dstyle.color=always \
26-
-P dockerDeps,dockerPublishWithLatest \
26+
-P swagger,dockerDeps,dockerPublishWithLatest \
2727
-pl :flowable-app-rest \
2828
-Ddocker.publisher.user=${{ secrets.DOCKER_USER }} \
2929
-Ddocker.publisher.password=${{ secrets.DOCKER_PASSWORD }}
3030
31-
- name: Install cosign
32-
uses: sigstore/cosign-installer@d6a3abf1bdea83574e28d40543793018b6035605
33-
with:
34-
cosign-release: 'v1.7.1'
31+
- name: Install Cosign
32+
uses: sigstore/cosign-installer@v3.7.0
3533

3634
- name: Write signing key to disk
3735
run: echo "${{ secrets.SIGNING_SECRET }}" > cosign.key

.github/workflows/docker-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212

13-
- name: Set up JDK 17
13+
- name: Set up JDK 21
1414
uses: actions/setup-java@v3
1515
with:
1616
distribution: 'temurin'
17-
java-version: '17'
17+
java-version: '21'
1818

1919
- name: Get current project meta
2020
id: meta
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build Docker images with Maven
2424
run: |
2525
mvn clean package -B -Dstyle.color=always \
26-
-P dockerDeps,dockerPublish \
26+
-P swagger,dockerDeps,dockerPublish \
2727
-pl :flowable-app-rest \
2828
-D docker.publisher.user=${{ secrets.DOCKER_USER }} \
2929
-D docker.publisher.password=${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)