The `only` field takes a string or list of strings per the Circle docs: https://circleci.com/docs/2.0/configuration-reference/#branches Signed-off-by: Dan Callahan <danc@element.io>
@@ -41,7 +41,7 @@ workflows:
- dockerhubuploadlatest:
filters:
branches:
- only: master
+ only: [ master, main ]
commands:
docker_prepare:
@@ -0,0 +1 @@
+Tell CircleCI to build Docker images from `main` branch.