This is an example of a wercker.yml
with four pipelines that can be combined in a workflow.
Fork this repo and create a wercker application for it. Then use the workflow editor to configure the following workflow:
build +--> unit-test ---------------------------------------------+
\ \
+--> build-image-test --> deploy-image --> verify-deployment +--> report-success
The deploy-image
pipeline requires the following environment variables:
USERNAME
- Your Docker Hub usernamePASSWORD
- Your Docker Hub password
The verify-deployment
pipeline requires the following environment variables:
PASSWORD
- Your Docker Hub password