Skip to content

Commit

Permalink
Update trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Jan 9, 2025
1 parent 062f94c commit 50864d2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 73 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
ballerina_version:
description: 'Ballerina version'
required: true
default: '2201.10.0'
default: '2201.10.3'
push:
branches:
- main

env:
BALLERINA_DISTRIBUTION_VERSION: 2201.9.2 # Update this with the latest Ballerina version
BALLERINA_DISTRIBUTION_VERSION: 2201.10.3 # Update this with the latest Ballerina version

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
ballerina_version:
description: 'Ballerina version'
required: true
default: '2201.10.0'
default: '2201.10.3'
environment:
type: choice
description: Select environment
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/ballerina/lib'
scan-ref: "${{ github.workspace }}/ballerina/lib"
format: 'table'
timeout: '10m0s'
exit-code: '1'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
ballerina_version:
description: 'Ballerina version'
required: true
default: '2201.10.0'
default: '2201.10.3'

env:
BALLERINA_DISTRIBUTION_VERSION: 2201.10.0 # Update this with the latest Ballerina version
BALLERINA_DISTRIBUTION_VERSION: 2201.10.3 # Update this with the latest Ballerina version

jobs:
build:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/ballerina/lib'
scan-ref: "${{ github.workspace }}/ballerina/lib"
format: 'table'
timeout: '10m0s'
exit-code: '1'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/graalvm-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
ballerina_version:
description: 'Ballerina version'
required: true
default: '2201.10.0'
default: '2201.10.3'

env:
BALLERINA_DISTRIBUTION_VERSION: 2201.10.0 # Update this with the latest Ballerina version
BALLERINA_DISTRIBUTION_VERSION: 2201.10.3 # Update this with the latest Ballerina version

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '/github/workspace/ballerina/lib'
scan-ref: "${{ github.workspace }}/ballerina/lib"
format: 'table'
timeout: '10m0s'
exit-code: '1'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Validate Pull Request
on: pull_request

env:
BALLERINA_DISTRIBUTION_VERSION: 2201.10.0 # Update this with the latest Ballerina version
BALLERINA_DISTRIBUTION_VERSION: 2201.10.3 # Update this with the latest Ballerina version

jobs:
ubuntu-build:
Expand Down
62 changes: 0 additions & 62 deletions ballerina/Dependencies.toml

This file was deleted.

0 comments on commit 50864d2

Please sign in to comment.