Compare commits

..

1 Commits

Author SHA1 Message Date
Shubham Agrawal 17072a25f1 Fix ecr publish 2020-12-02 15:17:28 +05:30
6 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -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"),
},
}
+1 -1
View File
@@ -15,7 +15,7 @@ import (
const (
// GCR JSON key file path
gcrKeyPath string = "/kaniko/config.json"
gcrKeyPath string = "/kaniko/gcr.json"
gcrEnvVariable string = "GOOGLE_APPLICATION_CREDENTIALS"
)
+4 -1
View File
@@ -1,4 +1,7 @@
FROM gcr.io/kaniko-project/executor:v1.3.0
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
ADD release/linux/amd64/kaniko-docker /kaniko/
ENTRYPOINT ["/kaniko/kaniko-docker"]
+4 -1
View File
@@ -1,4 +1,7 @@
FROM gcr.io/kaniko-project/executor:v1.3.0
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
ADD release/linux/amd64/kaniko-ecr /kaniko/
ENTRYPOINT ["/kaniko/kaniko-ecr"]
+4 -1
View File
@@ -1,4 +1,7 @@
FROM gcr.io/kaniko-project/executor:v1.3.0
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
ADD release/linux/amd64/kaniko-gcr /kaniko/
ENTRYPOINT ["/kaniko/kaniko-gcr"]
Regular → Executable
View File