7 Pipelines and workflows
In the last few chapters we’ve seen how to perform a variety of tasks with Packer. We’ve built images, provisioned them, worked with Docker, seen how post-processing works, and written some tests to validate that our images are correct. We’ve also targeted a couple of platforms: Amazon EC2 AMI images and Docker container images.
In this chapter we’re going to combine many of these concepts to produce a multi-target, consistently provisioned image. Our image will be built both as an Amazon AMI and as a Docker image. We’ll also post-process the image selectively to ensure it is deployed to both Amazon and the Docker Hub.
7.1 Our build pipeline
We’re going to build dual images, a Docker image and an Amazon AWS AMI, using ...
Get The Packer Book now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.