Compare commits

..

1 Commits

Author SHA1 Message Date
Shubham Agrawal b708f2c84c Allow remote caching of docker layers in kaniko build 2021-04-08 00:03:57 +05:30
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -143,6 +143,9 @@ func run(c *cli.Context) error {
Labels: c.StringSlice("custom-labels"),
SkipTlsVerify: c.Bool("skip-tls-verify"),
SnapshotMode: c.String("snapshot-mode"),
EnableCache: c.Bool("enable-cache"),
CacheRepo: c.String("cache-repo"),
CacheTTL: c.Int("cache-ttl"),
},
}
return plugin.Exec()
+3
View File
@@ -132,6 +132,9 @@ func run(c *cli.Context) error {
Repo: fmt.Sprintf("%s/%s", c.String("registry"), c.String("repo")),
Labels: c.StringSlice("custom-labels"),
SnapshotMode: c.String("snapshot-mode"),
EnableCache: c.Bool("enable-cache"),
CacheRepo: c.String("cache-repo"),
CacheTTL: c.Int("cache-ttl"),
},
}
return plugin.Exec()
+3
View File
@@ -132,6 +132,9 @@ func run(c *cli.Context) error {
Repo: fmt.Sprintf("%s/%s", c.String("registry"), c.String("repo")),
Labels: c.StringSlice("custom-labels"),
SnapshotMode: c.String("snapshot-mode"),
EnableCache: c.Bool("enable-cache"),
CacheRepo: c.String("cache-repo"),
CacheTTL: c.Int("cache-ttl"),
},
}
return plugin.Exec()