Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1.09 KB

File metadata and controls

34 lines (22 loc) · 1.09 KB

wercker-docker-build

This wercker step just build your package as a Docker image.

This step must be used with a wercker box built with Docker Support

Versions

Release date Step version Docker version
2014-11-28 1.0.2 1.3.1

Options

  • force-rm (optional, default: false) Always remove intermediate containers, even after unsuccessful builds
  • no-cache (optional, default: false) Do not use cache when building the image
  • quiet (optional, default: false) Suppress the verbose output generated by the containers
  • rm (optional, default: true) Remove intermediate containers after a successful build
  • tag (optional but advised) Repository name (and optionally a tag) to be applied to the resulting

Example

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}