Skip to content

Commit 2a208c1

Browse files
authored
Propagate tags to the container image test bundle (#1730)
Fixes #1729
1 parent 2d0edd8 commit 2a208c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/test.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,16 @@ def container_test(name, image, configs, driver = None, verbose = None, **kwargs
164164
loaded_name = "%s:intermediate" % sanitized_name
165165
restricted_to = kwargs.get("restricted_to", None)
166166
compatible_with = kwargs.get("compatible_with", None)
167+
tags = kwargs.get("tags", [])
168+
167169
container_bundle(
168170
name = image_loader,
169171
images = {
170172
loaded_name: image,
171173
},
172174
restricted_to = restricted_to,
173175
compatible_with = compatible_with,
176+
tags = tags,
174177
)
175178

176179
_container_test(

0 commit comments

Comments
 (0)