Relyance SCI Scan #233
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |