From c3b367be85e0ac23efe3164f762e5515488ef153 Mon Sep 17 00:00:00 2001 From: David Tennander Date: Thu, 21 Sep 2017 12:38:44 +0200 Subject: [PATCH] Bugfix: Extracts short_path from tarball-File obj. This removes the bug not allowing k8s_object to work on images from docker_build() targets with a lagacy layer. --- k8s/object.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/object.bzl b/k8s/object.bzl index f465f56a..91b88576 100644 --- a/k8s/object.bzl +++ b/k8s/object.bzl @@ -60,7 +60,7 @@ def _impl(ctx): image_spec = {"name": tag} if image.get("legacy"): - image_spec["tarball"] = image["legacy"] + image_spec["tarball"] = image["legacy"].short_path all_inputs += [image["legacy"]] blobsums = image.get("blobsum", [])