From a4b47a4992ca777c27711dcf614b514c543711c8 Mon Sep 17 00:00:00 2001 From: dlorenc Date: Tue, 22 Jan 2019 14:23:28 -0600 Subject: [PATCH] Fix the time format we use to upload to GCS. (#538) --- integration/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/images.go b/integration/images.go index a207c8794..52a91cc79 100644 --- a/integration/images.go +++ b/integration/images.go @@ -197,7 +197,7 @@ func (d *DockerFileBuilder) BuildImage(imageRepo, gcsBucket, dockerfilesPath, do if b, err := strconv.ParseBool(os.Getenv("BENCHMARK")); err == nil && b { benchmarkEnv = "BENCHMARK_FILE=/kaniko/benchmarks/" + dockerfile benchmarkFile := path.Join("benchmarks", dockerfile) - dst := path.Join("benchmarks/run_"+time.Now().Format("2006-01-02 15:04:05"), dockerfile) + dst := path.Join("benchmarks/run_"+time.Now().Format("2006-01-02-15:04:05"), dockerfile) defer UploadFileToBucket(gcsBucket, benchmarkFile, dst) }