Skip to content

Commit

Permalink
fix for image existance test
Browse files Browse the repository at this point in the history
  • Loading branch information
apesternikov committed Jun 13, 2024
1 parent 8e72dd7 commit 00cd5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mirror/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ def validate_image_test(name, image, digest, tags = [], **kwargs):
size = "small",
srcs = ["@rules_gitops//mirror:validate_image.sh"],
data = [
"//vendor/github.com/google/go-containerregistry/cmd/crane:crane",
"@rules_gitops//vendor/github.com/google/go-containerregistry/cmd/crane:crane",
],
args = [
src_image,
],
tags = ["requires-network"] + tags,
env = {
"CRANE_BIN": "$(location //vendor/github.com/google/go-containerregistry/cmd/crane:crane)",
"CRANE_BIN": "$(location @rules_gitops//vendor/github.com/google/go-containerregistry/cmd/crane:crane)",
},
**kwargs
)
Expand Down

0 comments on commit 00cd5cf

Please sign in to comment.