From 17072a25f1dab4a33350e1f2419abc4c1dacd316 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Wed, 2 Dec 2020 15:17:28 +0530 Subject: [PATCH] Fix ecr publish --- cmd/kaniko-ecr/main.go | 2 +- scripts/docker.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/docker.sh diff --git a/cmd/kaniko-ecr/main.go b/cmd/kaniko-ecr/main.go index 9ebb9e3..3b2bc2f 100644 --- a/cmd/kaniko-ecr/main.go +++ b/cmd/kaniko-ecr/main.go @@ -109,7 +109,7 @@ func run(c *cli.Context) error { Tags: c.StringSlice("tags"), Args: c.StringSlice("args"), Target: c.String("target"), - Repo: c.String("repo"), + Repo: fmt.Sprintf("%s/%s", c.String("registry"), c.String("repo")), Labels: c.StringSlice("custom-labels"), }, } diff --git a/scripts/docker.sh b/scripts/docker.sh old mode 100644 new mode 100755