Add lita-docker-hub to your Lita instance's Gemfile:
You can configure the room where
lita-docker-hub sends messages. The default is
Lita.configure do |config| config.handlers.docker_hub.room = "ops" end
Make sure that the Lita bot is a member of this room.
In Docker Hub go to the repository that you want to connect with Lita. You should have admin access to the Docker Hub configuration, and it should be an autobuild repository (builds triggered by Github or Bitbucket commits). Open the Webhooks tab of the repository and add the following URL:
MY_LITA_SERVER is the name or IP address of your Lita server. Make sure the Lita server is accessible for web requests.