message: Add clam av scanning
diff: @@ -9,7 +9,7 @@ stages:
  - report-scan
  variables:
  - CI_TOOLS_PATH: /NAS/tools/ci_tools/ci_tools-tgt-initial-package/bin
  + CI_TOOLS_PATH: /NAS/tools/ci_tools/ci_tools-0.1.0/bin
  GIT_SUBMODULE_STRATEGY: recursive
  OIDN_ROOT_DIR: "$CI_PROJECT_DIR"
  PYTHONUNBUFFERED: 1
  @@ -481,6 +481,22 @@ package-windows:
  ## Scans
  ## -----------------------------------------------------------------------------
  +av:
  + stage: scan
  + tags: [docker]
  + image: $DOCKER_REGISTRY/clamav:ubuntu20.04
  + only:
  + - schedules
  + - web
  + needs:
  + - package-linux
  + - package-macos
  + - package-windows
  + script:
  + - freshclam | tee -a /tmp/av_scan.log
  + - clamscan -va --max-filesize=512M --max-scansize=2048M --alert-broken --alert-exceeds-max build/oidn-* | tee -a /tmp/av_scan.log
  + - $CI_TOOLS_PATH/store-files.sh $CI_PROJECT_NAME $CI_PIPELINE_ID av /tmp/av_scan.log
  +
  bdba:
  stage: scan
  tags: [docker]
  