Tell CircleCI to build Docker images from `main` (#9906)

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>
This commit is contained in:
Dan Callahan 2021-05-26 13:16:06 +01:00 committed by GitHub
parent 65e6c64d83
commit 913a761a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,7 @@ workflows:
- dockerhubuploadlatest: - dockerhubuploadlatest:
filters: filters:
branches: branches:
only: master only: [ master, main ]
commands: commands:
docker_prepare: docker_prepare:

1
changelog.d/9906.misc Normal file
View File

@ -0,0 +1 @@
Tell CircleCI to build Docker images from `main` branch.