Skip to content

Commit 00cd5cf

Browse files
committed
fix for image existance test
1 parent 8e72dd7 commit 00cd5cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mirror/defs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ def validate_image_test(name, image, digest, tags = [], **kwargs):
141141
size = "small",
142142
srcs = ["@rules_gitops//mirror:validate_image.sh"],
143143
data = [
144-
"//vendor/github.com/google/go-containerregistry/cmd/crane:crane",
144+
"@rules_gitops//vendor/github.com/google/go-containerregistry/cmd/crane:crane",
145145
],
146146
args = [
147147
src_image,
148148
],
149149
tags = ["requires-network"] + tags,
150150
env = {
151-
"CRANE_BIN": "$(location //vendor/github.com/google/go-containerregistry/cmd/crane:crane)",
151+
"CRANE_BIN": "$(location @rules_gitops//vendor/github.com/google/go-containerregistry/cmd/crane:crane)",
152152
},
153153
**kwargs
154154
)

0 commit comments

Comments
 (0)