ozbillwang/docker
drone docker plugin with option `--no-cache`
57
There is a bug fix in exist drone plugin plugins/docker
(https://github.com/drone-plugins/drone-docker) which has no option --no-cache
.
https://github.com/drone-plugins/drone-docker/issues/165
This image has hard code with this option --no-cache
diff --git a/docker.go b/docker.go
index 229a1d0..fe6c81d 100644
--- a/docker.go
+++ b/docker.go
@@ -184,6 +184,7 @@ func commandBuild(build Build) *exec.Cmd {
args := []string{
"build",
"--rm=true",
+ "--no-cache",
"-f", build.Dockerfile,
"-t", build.Name,
}
docker pull ozbillwang/docker