Step 7: Connect your plan file to Chef Habitat Builder

Build System Demo

Chef Habitat Builder can rebuild your application as you commit new code or when underlying dependencies are updated.

To set up automated builds, navigate to the Packages tab and click the Connect a plan button.

Enter the GitHub org and repo where you forked the sample app. Next, you will see the plan file for the sample app listed (see image).

Switch the Publish to Container Registries option to ON . The Docker Hub registry account you added earlier should appear. Select it and type in your target Docker Hub organization and repository *. You can leave the default Tags and click Save settings.

Finally, click Save Connection.

* If the target Docker Hub repository doesn’t exist, it will be created following the default visibility setting.