Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Propagate tags to the container image test bundle (#1730)
Browse files Browse the repository at this point in the history
Fixes #1729
  • Loading branch information
pcj authored Mar 12, 2021
1 parent 2d0edd8 commit 2a208c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,16 @@ def container_test(name, image, configs, driver = None, verbose = None, **kwargs
loaded_name = "%s:intermediate" % sanitized_name
restricted_to = kwargs.get("restricted_to", None)
compatible_with = kwargs.get("compatible_with", None)
tags = kwargs.get("tags", [])

container_bundle(
name = image_loader,
images = {
loaded_name: image,
},
restricted_to = restricted_to,
compatible_with = compatible_with,
tags = tags,
)

_container_test(
Expand Down

0 comments on commit 2a208c1

Please sign in to comment.