This wercker step just build your package as a Docker image.
This step must be used with a wercker box built with Docker Support
| Release date | Step version | Docker version |
|---|---|---|
| 2014-11-28 | 1.0.2 | 1.3.1 |
force-rm(optional, default:false) Always remove intermediate containers, even after unsuccessful buildsno-cache(optional, default:false) Do not use cache when building the imagequiet(optional, default:false) Suppress the verbose output generated by the containersrm(optional, default:true) Remove intermediate containers after a successful buildtag(optional but advised) Repository name (and optionally a tag) to be applied to the resulting
The following example build a package as a Docker image with the sha1 of the commit :
build:
steps:
...
- nhuray/docker-build:
tag: ${WERCKER_GIT_COMMIT:0:7}