Skip to content

Build and scan rocks, save and send scan reports #390

Build and scan rocks, save and send scan reports

Build and scan rocks, save and send scan reports #390

name: Build and scan rocks, save and send scan reports
on:
schedule:
# every day at 1:12AM UTC
- cron: '12 1 * * *'
secrets:
CVE_REPORT_JIRA_URL:
required: true
jobs:
save-space:
name: Save space
runs-on: ubuntu-20.04
steps:
- name: Maximise GH runner space
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 29696
remove-dotnet: 'true'
remove-haskell: 'true'
remove-android: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
build-scan-rocks:
name: Build and scan rocks
runs-on: ubuntu-20.04
strategy:
matrix:
rock:
- mlserver-huggingface
- mlserver-mlflow
- mlserver-sklearn
- mlserver-xgboost
- seldon-core-operator
- sklearnserver
- tensorflow-serving
uses: canonical/charmed-kubeflow-workflows/.github/workflows/build_and_scan_rock.yaml@main

Check failure on line 39 in .github/workflows/build_and_scan_rocks.yaml

View workflow run for this annotation

GitHub Actions / Build and scan rocks, save and send scan reports

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_scan_rocks.yaml (Line: 39, Col: 5): Unexpected value 'uses' .github/workflows/build_and_scan_rocks.yaml (Line: 40, Col: 5): Unexpected value 'secrets'
secrets:
JIRA_URL: ${{ secrets.CVE_REPORT_JIRA_URL }}
with:
rock: ${{ matrix.rock }}