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