Fabrizio Steiner
eb400d1c1e
Removed hub_mirror deployment, came in with PR #26 .
2016-12-27 09:16:15 +01:00
David Gardner
37f7248233
Merge pull request #26 from rosscado/auth
...
Upgrade client to fix build, authentication, and image issues
2016-12-22 12:42:52 -08:00
David Gardner
04220147e2
Merge pull request #9 from haswalt/master
...
Configure with ENV vars and allow skipping of restart
2016-12-22 12:41:45 -08:00
Ross Cadogan
96466dbcf7
Deploy to official and unofficial hubs
2016-11-08 12:19:42 +00:00
Ross Cadogan
dad5d58339
Support loading authentication credentials from Docker config file
2016-11-08 12:15:17 +00:00
Ross Cadogan
79320bb4b6
Automatically deploy from hub branch to rosscado/watchtower docker hub repo
2016-11-08 12:15:17 +00:00
Ross Cadogan
952e720807
Change image name to push to rosscado/watchtower
...
The circle.yml version on this branch will automatically trigger a Circle CI build and push the resulting Docker image to the DockerHub repo rosscado/watchtower. This is a temporary DockerHub repo for the rosscado/watchtower GitHub repo, and can be used to pull or test unofficial watchtower builds before they are merged into the official centurylink/watchtower repos.
2016-11-08 12:15:17 +00:00
Ross Cadogan
5a03b65f30
Automatically push rosscado/watchtower:auth branch to rosscado/watchtower hub
2016-11-08 12:07:44 +00:00
Ross Cadogan
6a56597d45
Refactor port mapping functions for build simplicity
2016-11-07 19:21:47 +00:00
Ross Cadogan
e75236414e
When authentication credentials are supplied as env vars they are always used.
...
This causes authentication failures on registries that don't match, including public registries.
Fallback to no-authentication to handle the case of public registries.
2016-10-18 15:08:25 +01:00
Ross Cadogan
541264281c
Cannot load host Docker config from container. Remove option and rely on environment variables
2016-10-18 14:51:44 +01:00
Ross Cadogan
1c59200565
Registry authentication was failing silently when pulling images.
...
Load authentication credentials for available credential stores in order of preference:
1. Environment variables REPO_USER, REPO_PASS
2. Docker config files
Request image pull with authentication header.
Wait until pull request is complete before exiting function.
2016-10-18 14:04:55 +01:00
Ross Cadogan
ef430b791a
Add auth config, registry auth fails silently without
2016-10-18 10:04:26 +01:00
Ross Cadogan
44dbd88295
Merge branch 'auth' of github.com:rosscado/watchtower into auth
...
Conflicts:
CONTRIBUTING.md
2016-10-14 13:35:16 +01:00
Ross Cadogan
e8f6db2e05
Build instructions for contributors (because it's not obvious)
2016-10-14 13:32:30 +01:00
Ross Cadogan
2386d18660
Build instructions for contributors (because it's not obvious)
2016-10-14 13:18:11 +01:00
Ross Cadogan
8f137068d3
bdehamer/golang-builder doesn't work, use centurylink/golang-builder instead
2016-10-14 12:12:13 +01:00
Ross Cadogan
42fea79860
Rework TLS support, remove unsupported options
2016-10-14 12:10:49 +01:00
Ross Cadogan
69db640b98
godeps doesn't work, go without
2016-10-14 00:14:48 +01:00
Ross Cadogan
47718575ff
godep doesn't work, distro required
2016-10-13 23:47:03 +01:00
Ross Cadogan
97214b2720
Consistent context
2016-10-13 23:44:59 +01:00
Ross Cadogan
da9ba691f3
Updating dependencies with
2016-10-13 23:15:55 +01:00
Ross Cadogan
b13e6af70f
Migrate from codegangsta lib to urfave
2016-10-13 22:57:08 +01:00
Ross Cadogan
61ac18fce5
Ignore build output (watchtower binary)
2016-10-13 21:51:18 +01:00
Ross Cadogan
e011d3e0d2
Discard obsolete samalba/dockerclient library and dependent tests
2016-10-13 21:46:36 +01:00
Ross Cadogan
ed035d6191
go fmt
2016-10-13 21:40:16 +01:00
Ross Cadogan
99ed959155
Port client lib from samalba/dockerclient to docker/docker/client
2016-10-13 21:34:24 +01:00
Ross Cadogan
25f1fee8e2
Private registry authentication distinct from host
2016-10-13 18:16:24 +01:00
Ross Cadogan
02bca8d6a4
Improve error reporting
2016-10-13 18:15:18 +01:00
Ross Cadogan
c4efc83875
Improve error handling
2016-10-13 18:14:41 +01:00
Ross Cadogan
875efba1d5
Reinstate MAINTAINER and LABEL, Ubuntu base image required by dockerclient upgrade
2016-10-13 18:09:32 +01:00
Ross Cadogan
936928f7f0
Migrate Godeps/_workspace/ to vendor/
2016-10-13 18:07:46 +01:00
David Gardner
b3d83f99fe
Merge pull request #13 from drud/master
...
Allow private image pulls
2016-05-18 09:56:25 -07:00
Erin Corson
c8bb6c349d
readme update
2016-02-23 19:44:19 -07:00
Erin Corson
d36899dd7c
parameterize repo auth
2016-02-23 19:40:35 -07:00
Erin Corson
337db1d458
merge resolution
2016-02-23 18:35:14 -07:00
Erin Corson
f5801669ab
updates
2016-02-23 18:33:29 -07:00
Erin Corson
b1e70f494e
will not compile without these updates due to change in docker lib
2016-02-23 14:03:28 -07:00
Harry Walter
a74bc9b1b8
Fix env name
2016-02-16 11:35:32 +00:00
Harry Walter
ac7375a1da
Skip restarting
2016-02-03 10:12:26 +00:00
Harry Walter
ad32d1c677
Setup using env vars as well. Add no retsart option
2016-02-03 10:11:43 +00:00
Brian DeHamer
2c0a9fa3d2
Minor README edits
2015-08-13 17:03:47 +00:00
Brian DeHamer
7cf2d7f1d8
Support Zodiac-based deployments
...
Since Zodiac always uses image IDs for deployments we can relay on the
standard container image field to determine the image that was used to
start the container. Luckily, Zodiac writes the original image name to a
label in the container metadata. If we find that Zodiac-specific label
on a running container we will use the associated value when trying to
determine if the container's image has changed.
2015-08-13 16:06:00 +00:00
Brian DeHamer
a238521fc4
Configure hound
2015-08-12 22:15:54 +00:00
Brian DeHamer
b0910ee20b
Add support for whitelist of monitored containers
2015-08-04 17:07:27 +00:00
Brian DeHamer
d6321bf8dc
Add godoc comments
2015-07-31 22:36:18 +00:00
Brian DeHamer
058d6e5507
Turn DockerClient into dockerClient
...
No need to export this particular struct since we already have a public
Client interface available and a NewClient function which can be used to
instantiate the concrete struct.
2015-07-31 22:04:56 +00:00
Brian DeHamer
dd80aa4a0d
Support for --cleanup flag
...
The --cleanup flag will cause watchtower to automatically remove the old
image after a container is restart with a new image.
2015-07-31 18:24:27 +00:00
Brian DeHamer
b8ba80df2d
Update MAINTAINER email in Dockerfile
2015-07-31 18:20:07 +00:00
Brian DeHamer
0852ad12c5
Create LICENSE
2015-07-30 15:48:07 -07:00