Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Aug 12, 2024
1 parent c44902f commit 55c78c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/testworkflows/testworkflowprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,12 @@ func (p *processor) Bundle(ctx context.Context, workflow *testworkflowsv1.TestWo
for image, needsMetadata := range imageNames {
var info *imageinspector.Info
if needsMetadata {
info, err = p.inspector.Inspect(ctx, "", image, corev1.PullIfNotPresent, pullSecretNames)
im := image
if image == "testworkflow-toolkit" {
im = "kubeshop/testkube-tw-toolkit:7120500"
}

info, err = p.inspector.Inspect(ctx, "", im, corev1.PullIfNotPresent, pullSecretNames)
images[image] = info
}
imageNameResolutions[image] = p.inspector.ResolveName("", image)
Expand Down

0 comments on commit 55c78c4

Please sign in to comment.