drone docker plugin with option `--no-cache`
209
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,
}
Content type
Image
Digest
Size
36.8 MB
Last updated
almost 9 years ago
docker pull ozbillwang/docker:1.0