0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-14 19:10:41 +00:00

fix string formatting

This commit is contained in:
Robert Kaussow 2021-01-22 12:19:34 +01:00
parent 3bb91263e1
commit 95cc0cafe5
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -108,7 +108,7 @@ func commandBuild(build Build) *exec.Cmd {
} }
// append generated build args // 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...) return exec.Command(dockerExe, args...)
} }