mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-21 13:50:39 +00:00
fix string formatting
This commit is contained in:
parent
3bb91263e1
commit
95cc0cafe5
@ -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...)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user