mirror of
https://github.com/drone/drone-kaniko.git
synced 2026-06-13 18:41:36 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 17072a25f1 |
@@ -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"),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user