diff --git a/test/test.bats b/test/test.bats index 872e6d3..3447ee6 100755 --- a/test/test.bats +++ b/test/test.bats @@ -15,7 +15,6 @@ load helpers } @test "Run trivy on patched image" { - docker context use "setup-docker-action" run trivy image --exit-code 1 --vuln-type os --ignore-unfixed -f json -o opa.0.46.0-patched.json 'docker.io/openpolicyagent/opa:0.46.0-patched' [ "$status" -eq 0 ] vulns=$(jq 'if .Results then [.Results[] | select(.Class=="os-pkgs" and .Vulnerabilities!=null) | .Vulnerabilities[]] | length else 0 end' opa.0.46.0-patched.json)