fix string formatting

This commit is contained in:
Robert Kaussow 2021-01-22 12:19:34 +01:00
parent 3bb91263e1
commit 95cc0cafe5
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 1 deletions

View File

@ -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...)
}