Skip to content

Commit

Permalink
added swagger profile explicitly to build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yvoswillens committed Oct 9, 2024
1 parent c5f93a5 commit 396400a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docker-release-with-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Get current project meta
id: meta
Expand All @@ -23,15 +23,13 @@ jobs:
- name: Build Docker images with Maven
run: |
mvn clean package -B -Dstyle.color=always \
-P dockerDeps,dockerPublishWithLatest \
-P swagger,dockerDeps,dockerPublishWithLatest \
-pl :flowable-app-rest \
-Ddocker.publisher.user=${{ secrets.DOCKER_USER }} \
-Ddocker.publisher.password=${{ secrets.DOCKER_PASSWORD }}
- name: Install cosign
uses: sigstore/cosign-installer@d6a3abf1bdea83574e28d40543793018b6035605
with:
cosign-release: 'v1.7.1'
- name: Install Cosign
uses: sigstore/[email protected]

- name: Write signing key to disk
run: echo "${{ secrets.SIGNING_SECRET }}" > cosign.key
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

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

0 comments on commit 396400a

Please sign in to comment.