build-labels 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 868072c73d56ec1efe249068e9bbd75b8b61118f5c28841e7ee86beed075bf63
4
- data.tar.gz: f7bf2b09edeafa2df384236b658ff5a35e1d77ee1c7b02f98e1e3f8640a94640
3
+ metadata.gz: 3913f1b859cd7dd3bcddf4fa837e4df24eb1fb46f942b2cd4aa0736ed5e1f102
4
+ data.tar.gz: 75438520093fd1d9e9a186759165f32ca671e5935336e9b79f7f0db1a4ef4c5b
5
5
  SHA512:
6
- metadata.gz: d7b60030369a3d001346377f3a2d8324637630c9ba88abe65e9830091f566f57455d1e419a6e5ab81ce0ccfc5b14afde4dc67d761feb8f5b5caec86d7a885518
7
- data.tar.gz: 584f0c56cd4c2b3f981ab7cec3896916c0b5e5be8625287cf8ab53e9e331a812344648d2e1bd98e5702d882a5e842fd0c840b6be1ff325fb2e61bba5e0954beb
6
+ metadata.gz: 787452aaf8906f9396bd21fe4f8f54e0cb3f31a371cdb17bd663e7b87d7ef23c9f22f212b28b319908086f0a5022e535a2c1038ee387fca1719af863a29c223d
7
+ data.tar.gz: 63e306079f07a83a20d7f0db6215302f46ff6b5904eba4c66b1ffee68f98342c59de456e6d9b5468c30c5b70eab80780fba11fe143b6cfe1c4abcc667347e711
@@ -9,9 +9,8 @@ BuildLabels::CommandLine::COMMANDS[:to_dockerfiles] = Class.new do
9
9
  compose['services'].each do |name, svc|
10
10
  next unless svc['build']
11
11
 
12
- # dockerfile = svc['build'].is_a?(String) ? svc['build'] : svc['build']['context']
13
- # dockerfile = File.join dockerfile, (svc['build']['dockerfile'] || 'Dockerfile')
14
- dockerfile = svc['build']['dockerfile'] || 'Dockerfile'
12
+ dockerfile = svc['build'].is_a?(String) ? svc['build'] : svc['build']['context']
13
+ dockerfile = File.join dockerfile, (svc['build']['dockerfile'] || 'Dockerfile')
15
14
  dockerfile = File.expand_path dockerfile, compose_dir
16
15
  raise "file ot found: #{dockerfile}" unless File.exist? dockerfile
17
16
 
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BuildLabels
2
2
  class Builder
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build-labels
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B