title: How to make two build inside one CircleCI configuration?
body: <p>In my git repository, I have <code>docker-compose.yml</code> and two folders <code>frontend</code> and <code>backend</code>, each of which contains its Dockerfile.</p>
  
  <p><code>docker-compose.yml</code>:</p>
  
  <pre><code>version: "3.5"
  
  services:
    Django:
      build:
        context: backend
      ...
  
    react:
      build:
        context: frontend
      depends_on:
        - django
  </code></pre>
  
  <p>How do I configure to build both of them into images and push them together to the docker hub after spotting new commit in the <code>master</code> branch?</p>