diff --git a/.github/workflows/build_publish_lambda_layer.yml b/.github/workflows/build_publish_lambda_layer.yml index 12d6ebf..f915015 100644 --- a/.github/workflows/build_publish_lambda_layer.yml +++ b/.github/workflows/build_publish_lambda_layer.yml @@ -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: @@ -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 @@ -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