Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Sep 12, 2024
1 parent 1e9aabf commit c83b08b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_publish_lambda_layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
name: ruby-layer-${{ matrix.arch }}.zip
path: lambda/build/ruby-layer-${{ matrix.arch }}.zip


# extract the built layer from artifacts, then scan it with reverselab
reverselab_scan_layer:
needs:
Expand Down Expand Up @@ -109,6 +108,8 @@ jobs:
LATEST_VERSION=$(aws lambda list-layer-versions --layer-name $LAYER_NAME | jq -r '.LayerVersions | max_by(.Version) | .Version')
NEXT_LATEST_VERSION=$(( $LATEST_VERSION + 1))
echo "LAYER_VERSION=$NEXT_LATEST_VERSION" >> $GITHUB_ENV
cd lambda/
ls -al
- name: Scan build artifact on the Portal ${{ matrix.arch }}
id: rl-scan
Expand All @@ -118,7 +119,7 @@ jobs:

uses: reversinglabs/gh-action-rl-scanner-cloud-only@v1
with:
artifact-to-scan: fileb://lambda/ruby-layer-${{ matrix.arch }}.zip
artifact-to-scan: ./lambda/ruby-layer-${{ matrix.arch }}.zip
rl-verbose: true
rl-portal-server: solarwinds
rl-portal-org: SolarWinds
Expand Down

0 comments on commit c83b08b

Please sign in to comment.