From 533ad25e3cfe1c17b19468f7b683914ea12758ca Mon Sep 17 00:00:00 2001 From: BioMark3r <121187458+BioMark3r@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:07:22 -0400 Subject: [PATCH 1/2] Create relyance.yml Create Relyance Scan Job --- .github/workflows/relyance.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/relyance.yml diff --git a/.github/workflows/relyance.yml b/.github/workflows/relyance.yml new file mode 100644 index 00000000..685f1479 --- /dev/null +++ b/.github/workflows/relyance.yml @@ -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 From 73b821c0c0f8481360befd6e9848f3585dc7ffcc Mon Sep 17 00:00:00 2001 From: BioMark3r <121187458+BioMark3r@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:44:01 -0400 Subject: [PATCH 2/2] Update relyance.yml --- .github/workflows/relyance.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/relyance.yml b/.github/workflows/relyance.yml index 685f1479..fd775841 100644 --- a/.github/workflows/relyance.yml +++ b/.github/workflows/relyance.yml @@ -1,13 +1,11 @@ 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 @@ -16,7 +14,6 @@ jobs: - 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 && \