rake_docker 0.15.0 → 0.15.1.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/lib/rake_docker/tasks/all.rb +3 -0
- data/lib/rake_docker/tasks/build.rb +6 -1
- data/lib/rake_docker/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4b1a06c285ce1ddafeae9ce737defbbd811621b480441650c014c76d8260500
|
4
|
+
data.tar.gz: 981cb7729e1fa0c47ac432619271bc7a2d026a74753ea0c74e9bfa3696d4c8a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e35d7ce1c8f0d8df566df4b4106cf9d2df647aea811b436917476b51a3456044d4f96e294e448aa315bcccaa71b62098f18e0d8239c865fa3fcf0910c9b8b54f
|
7
|
+
data.tar.gz: ae85a25ea6a2b44b7a0f25862e4b41a033c302439f0391ca16348cfe8f8032878e57be6bcf79f3361f31f2f57632205a8c19c1adf7c618f56bfb77621788896c
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -26,6 +26,8 @@ module RakeDocker
|
|
26
26
|
|
27
27
|
parameter :credentials
|
28
28
|
|
29
|
+
parameter :build_args
|
30
|
+
|
29
31
|
parameter :clean_task_name, :default => :clean
|
30
32
|
parameter :prepare_task_name, :default => :prepare
|
31
33
|
parameter :build_task_name, :default => :build
|
@@ -65,6 +67,7 @@ module RakeDocker
|
|
65
67
|
t.image_name = image_name
|
66
68
|
t.repository_name = repository_name
|
67
69
|
t.work_directory = work_directory
|
70
|
+
t.build_args = build_args
|
68
71
|
t.credentials = credentials
|
69
72
|
t.prepare_task = prepare_task_name
|
70
73
|
end
|
@@ -12,6 +12,8 @@ module RakeDocker
|
|
12
12
|
|
13
13
|
parameter :credentials
|
14
14
|
|
15
|
+
parameter :build_args
|
16
|
+
|
15
17
|
parameter :work_directory, :required => true
|
16
18
|
|
17
19
|
parameter :prepare_task, :default => :prepare
|
@@ -40,9 +42,12 @@ module RakeDocker
|
|
40
42
|
|
41
43
|
Docker.authenticate!(derived_credentials) if derived_credentials
|
42
44
|
|
45
|
+
options = {t: repository_name}
|
46
|
+
options = options.merge(buildargs: build_args) if build_args
|
47
|
+
|
43
48
|
Docker::Image.build_from_dir(
|
44
49
|
File.join(work_directory, image_name),
|
45
|
-
|
50
|
+
options) do |chunk|
|
46
51
|
$stdout.puts chunk
|
47
52
|
end
|
48
53
|
end
|
data/lib/rake_docker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -207,9 +207,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
207
|
version: '2.0'
|
208
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
209
|
requirements:
|
210
|
-
- - "
|
210
|
+
- - ">"
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
version:
|
212
|
+
version: 1.3.1
|
213
213
|
requirements: []
|
214
214
|
rubyforge_project:
|
215
215
|
rubygems_version: 2.7.7
|