From 95cc0cafe55343d8d1bb5c44d9690c0a1a30f949 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 22 Jan 2021 12:19:34 +0100 Subject: [PATCH] fix string formatting --- plugin/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/docker.go b/plugin/docker.go index b0d5830..93f1f5a 100644 --- a/plugin/docker.go +++ b/plugin/docker.go @@ -108,7 +108,7 @@ func commandBuild(build Build) *exec.Cmd { } // append generated build args - args = append(args, "--build-arg", "DOCKER_IMAGE_CREATED=%s", time.Now().Format(time.RFC3339)) + args = append(args, "--build-arg", fmt.Sprintf("DOCKER_IMAGE_CREATED=%s", time.Now().Format(time.RFC3339))) return exec.Command(dockerExe, args...) }