Home / Companies / CircleCI / Blog / Post Details
Content Deep Dive

Wide World of Workflows: How we build our Docker convenience images

Blog post from CircleCI

Post Details
Company
Date Published
Author
Rose Kaplan-Bomberg
Word Count
1,209
Language
English
Hacker News Points
-
Summary

CircleCI's blog post highlights their internal use of workflows, specifically through their circleci-images repository, which is openly available to demonstrate the effectiveness of their workflows toolset. This repository is crucial for building and deploying Docker convenience images used by numerous customers daily, leveraging an efficient and reliable pipeline that incorporates features such as fan-in/fan-out, multiple execution environments, cron scheduling, and branch-based filters. The post outlines the process for creating these images, starting from a commit to deploying on Docker Hub, using a dual workflow approach to accommodate nightly builds and immediate feedback for code changes. The nightly workflow is scheduled to run on the master branch, whereas the regular commit workflow handles changes as they happen, with both workflows sharing similar job configurations to ensure simplicity and reusability. By utilizing YAML anchors and branch-based filtering, CircleCI optimizes its workflow for both staging and production environments, demonstrating the power of multi-platform workflows and the flexibility to choose appropriate execution environments for different jobs.