build-labels 0.0.17 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/build-labels/command_to_dockerfiles.rb +4 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b252a13e7ee5a0372e8f31262e1fbcf3cdd1d49dfc3215ee45557429a8f0c8
|
4
|
+
data.tar.gz: 28f1fcbecd7cdce2a82f5dd519643ad7c3212d8d7c32746eca14cc07c762f5c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b5452689d83fce49851f33a848caac9dfce949ed98872cd951cde67232412c04542af3bcfc8c2a209d58be5b51dd90c68abdc158301354c898dd565f9a313a8
|
7
|
+
data.tar.gz: 2466912c044e353acd73a09446fe6ee5c7d820e693a03d2fcbbd367b9c28266128b1b671187eb4f19ea18621268fa35da5008c8fab46a881c582e7f1d47b8b00
|
@@ -5,7 +5,10 @@ BuildLabels::CommandLine::COMMANDS[:to_dockerfiles] = Class.new do
|
|
5
5
|
raise 'Compose file not defined' unless compose_text
|
6
6
|
compose_dir = params[:compose] ? File.dirname(params[:compose]) : '.'
|
7
7
|
|
8
|
-
|
8
|
+
result = YamlMerge::parse_and_process_yaml compose_text
|
9
|
+
compose = YamlMerge::deep_copy_without_aliases result
|
10
|
+
# compose = YAML.load compose_text
|
11
|
+
|
9
12
|
compose['services'].each do |name, svc|
|
10
13
|
next unless svc['build']
|
11
14
|
|
data/lib/version.rb
CHANGED