From 52f59a1ad903aa72749b5d0039e3f47df29ac10f Mon Sep 17 00:00:00 2001 From: Simar Date: Tue, 3 Sep 2024 17:20:59 -0600 Subject: [PATCH] fix(tests): Fix tests for release --- scripts/verify-bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-bundle.go b/scripts/verify-bundle.go index 4e9f869a..e1d72403 100644 --- a/scripts/verify-bundle.go +++ b/scripts/verify-bundle.go @@ -73,7 +73,7 @@ func createTrivyContainer(ctx context.Context, trivyVersion string, regIP string reqTrivy := testcontainers.ContainerRequest{ Image: fmt.Sprintf("aquasec/trivy:%s", trivyVersion), AlwaysPullImage: true, - Cmd: []string{"--debug", "config", "--include-deprecated-checks=false", fmt.Sprintf("--checks-bundle-repository=%s:5111/defsec-test:latest", regIP), "/testdata"}, + Cmd: []string{"--debug", "config", "--include-deprecated-checks=false", !fmt.Sprintf("--checks-bundle-repository=%s:5111/defsec-test:latest", regIP), "/testdata"}, HostConfigModifier: func(config *container.HostConfig) { config.NetworkMode = "host" config.Mounts = []mount.Mount{