Skip to content

Commit

Permalink
[NO-ISSUE] Fix java runtime issue in ci workflow
Browse files Browse the repository at this point in the history
The artemis image is now compiled with jdk17. In ci workflow
the java env is still java 11 (class version 55)
Need to setup java to support java 17 runtime
  • Loading branch information
howardgao authored and gaohoward committed Dec 19, 2024
1 parent 5acb714 commit 48e0f8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
cekit --verbose build --dry-run --overrides "{'labels': [{'name': 'quay.expires-after', 'value': '90d'}, {'name': 'git-sha', 'value': '$GITHUB_SHA'}]}" podman
podman build --platform linux/amd64 --platform linux/arm64 --manifest $IMAGE_NAME:dev.latest ./target/image
- name: Set up java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Check the image
run: |
CONTAINER_ID=$(podman run --detach --network=host --env AMQ_USER=admin --env AMQ_PASSWORD=admin $IMAGE_NAME:dev.latest)
Expand Down

0 comments on commit 48e0f8c

Please sign in to comment.