docker-api 1.10.5 → 1.10.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/image.rb +1 -1
- data/lib/docker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38bcbcb12abb18d4d29a08cfb0246e7d1991d136
|
4
|
+
data.tar.gz: 6b9282e5f38257a2e06cec40878be713768b7749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0619fdeb61257f6188c54974bfe98551b608d6470543969d2e4931d1dacd42669907affb4186d5a2a06d178443b96810d7ab2e77f66019fa9e41a0c27aa0bbb7
|
7
|
+
data.tar.gz: 137ea9d2674ee39787d5d39ce8b0bc163ed5c23585521975286e4a8f68bfe785c741253cd1351d2964ba16a1fb0faceb5cc7afa29b6e3286b5b9b2673fcde8c9
|
data/lib/docker/image.rb
CHANGED
@@ -29,7 +29,7 @@ class Docker::Image
|
|
29
29
|
raise ArgumentError, "Image does not have a name to push." if repo.nil?
|
30
30
|
|
31
31
|
credentials = creds || Docker.creds || {}
|
32
|
-
headers =
|
32
|
+
headers = Docker::Util.build_auth_header(credentials)
|
33
33
|
opts = options.merge(:tag => tag)
|
34
34
|
connection.post("/images/#{repo}/push", opts, :headers => headers)
|
35
35
|
self
|
data/lib/docker/version.rb
CHANGED