docker-template 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/template/builder.rb +6 -2
- data/lib/docker/template/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51ca564b33773a01fe5be9b298e96315cde1ed3e
|
4
|
+
data.tar.gz: a06cdc4c142a5288d7a5ecd074f7bee5447faf81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51056d978d69eac78b67ebbe33e43c74a9d600d64a6491e4baa00f60bbaebf9ae479252c023591c3327a094d2b10f0ed216b9bd5ed8a322c67ed59ffa1780347
|
7
|
+
data.tar.gz: ee5d5e3ed09ae25e53e055a4c8df335aa5c8f86f0c57cc0741f43186ae5fb0acddecda0fd7c7639af975440c7279f49254167685908898838469f127fef9c03b
|
@@ -228,10 +228,14 @@ module Docker
|
|
228
228
|
|
229
229
|
private
|
230
230
|
def copy_git
|
231
|
-
return if rootfs? || !@repo.meta.git? ||
|
231
|
+
return if rootfs? || !@repo.meta.git? || @repo.meta.push_only?
|
232
232
|
require "rugged"
|
233
233
|
|
234
|
-
@repo.meta[:git]
|
234
|
+
repos = @repo.meta[:git]
|
235
|
+
repos = repos.for_all + (repos.by_tag || []) +
|
236
|
+
(repos.by_type || [])
|
237
|
+
|
238
|
+
repos.each do |repo|
|
235
239
|
credentials = Rugged::Credentials::SshKey.new({
|
236
240
|
:privatekey => Pathutil.new(repo[:key]).expand_path.to_s,
|
237
241
|
:publickey => Pathutil.new(repo[:pub]).expand_path.to_s,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordon Bedwell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|