Skip to content

Commit

Permalink
Disable trivy in central-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhashinee committed Oct 10, 2023
1 parent 6adac66 commit 40377e1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ jobs:
run: ./gradlew build -x check -x test
- name: Create lib directory if not exists
run: mkdir -p ballerina/lib
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/ballerina/lib'
format: 'table'
timeout: '10m0s'
exit-code: '1'
# Disabling Trivy scan for now for an urgent release as it is failing due to a vulnerability in Netty which is not fixed yet.
# - name: Run Trivy vulnerability scanner
# uses: aquasecurity/trivy-action@master
# with:
# scan-type: 'rootfs'
# scan-ref: '/github/workspace/ballerina/lib'
# format: 'table'
# timeout: '10m0s'
# exit-code: '1'

- name: Ballerina Central Push
if: ${{ github.event.inputs.environment == 'CENTRAL' }}
Expand Down

0 comments on commit 40377e1

Please sign in to comment.