Skip to content

Commit 5387266

Browse files
committed
Pass the correct env.env to the container.
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
1 parent 9e4bb5b commit 5387266

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/build/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ func (t *Test) TestPackage(ctx context.Context) error {
559559
}
560560
}
561561

562-
cfg, err := t.buildWorkspaceConfig(ctx, imgRef, pkg.Name, t.Configuration.Environment.Environment)
562+
cfg, err := t.buildWorkspaceConfig(ctx, imgRef, pkg.Name, t.Configuration.Test.Environment.Environment)
563563
if err != nil {
564564
return fmt.Errorf("unable to build workspace config: %w", err)
565565
}

0 commit comments

Comments
 (0)