Skip to content

Commit

Permalink
remove download of outdated api rego
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Rumney authored Sep 13, 2022
1 parent 4a459c4 commit 39f38e9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch outdated API data from trivy-db-data repo
id: outdatedapi
uses: fjogeleit/http-request-action@v1
with:
url: 'https://raw.githubusercontent.com/aquasecurity/trivy-db-data/main/k8s/api/k8s-outdated-api.json'
method: 'GET'
- name: embed outdatedapi-data with in dynamic rego policy
run: |
./scripts/udpate_dynamic_policy.sh ${{ toJson(steps.outdatedapi.outputs.response) }}
- name: Get the semantic version
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Get the minor version
Expand Down

0 comments on commit 39f38e9

Please sign in to comment.