Skip to content
Docker Hub webhooks in Lita
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
.travis.yml
Gemfile
LICENSE.md
README.md
Rakefile
lita-docker-hub.gemspec
screenshot.png

README.md

lita-docker-hub

Build Status Gem Version

A Docker Hub plugin for Lita.

Installation

Add lita-docker-hub to your Lita instance's Gemfile:

gem "lita-docker-hub"

Configuration

You can configure the room where lita-docker-hub sends messages. The default is general.

Lita.configure do |config|
  config.handlers.docker_hub.room = "ops"
end

Make sure that the Lita bot is a member of this room.

Usage

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:

http://MY_LITA_SERVER/docker-hub/receive

Where MY_LITA_SERVER is the name or IP address of your Lita server. Make sure the Lita server is accessible for web requests.

Screenshot

License

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.