Skip to content

Commit

Permalink
Create relyance.yml
Browse files Browse the repository at this point in the history
Create Relyance Scan Job
  • Loading branch information
BioMark3r authored Jun 12, 2024
1 parent 3c40f15 commit 533ad25
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/relyance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Relyance SCI Scan

on:
#TODO: Modify the cron job schedule below.
schedule:
- cron: "0 20 * * *"
workflow_dispatch:

jobs:
#TODO: Modify the job names and the machine below if you would like.
execute-relyance-sci:
name: Relyance SCI Job
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

# TODO: Update the docker pull command in the "run" section below. Recommend setting the ACCESS_TOKEN as an environment variable.
- name: Pull and run SCI binary
run: |-
docker pull gcr.io/relyance-ext/compliance_inspector:release && \
docker run --rm -v `pwd`:/repo --env 'API_KEY=${{ secrets.DPP_SCI_KEY }}' gcr.io/relyance-ext/compliance_inspector:release

0 comments on commit 533ad25

Please sign in to comment.