Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed May 14, 2024
1 parent 2e7bca7 commit d9f55b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Build runner images
run: |
PULSAR_IMAGE_TAG=3.2.2.5 PULSAR_IMAGE=streamnative/sn-platform KIND_PUSH=false images/build.sh
PULSAR_IMAGE_TAG=3.2.2.6 PULSAR_IMAGE=streamnative/sn-platform KIND_PUSH=false images/build.sh
- name: Run Trivy vulnerability scanner for java
id: scan-java-runner
Expand Down Expand Up @@ -146,7 +146,6 @@ jobs:
combinedMessage = `${uniqueIdentifier}\n\n` + combinedMessage; // Add unique identifier to the message
const issue_number = context.issue.number;
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
const { data: comments } = await github.rest.issues.listComments({
...context.repo,
issue_number: issue_number,
Expand Down
2 changes: 1 addition & 1 deletion images/pulsar-functions-base-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN echo "VERSION_TAG=${VERSION_TAG}" && \
apk update && apk add --no-cache $JRE_PACKAGE_NAME bash

COPY --from=pulsar --chown=$UID:$GID /pulsar/conf /pulsar/conf
COPY --from=pulsar --chown=$UID:$GID /pulsar/bin /pulsar/bin
COPY --from=pulsar --chown=$UID:$GID /pulsar/bin/pulsar-admin /pulsar/bin/pulsar-admin
COPY --from=pulsar --chown=$UID:$GID /pulsar/lib /pulsar/lib

# remove the vertx jar since it's not need ans has a cve
Expand Down

0 comments on commit d9f55b7

Please sign in to comment.