build-labels 0.0.12 → 0.0.13

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: 720b52bf85f4f82c4c89fed5561ba93ef58c52fec91674848c751fe4af523ab2
4
- data.tar.gz: 04a2c81b8b8662ea174d878a0f093e24e6abbeaf864348331eb14a7c87c2007c
3
+ metadata.gz: 6ec498cbc10336a3948caf8d7f00c727a470313334c40d991df4bdaa242b52e2
4
+ data.tar.gz: fb2e1057d222673564957cea9aac81ee29d80f2b1434af9430933ca4d19e44ca
5
5
  SHA512:
6
- metadata.gz: 3e874e6162cc78d71a0c87df0d58635db9801903048ac7d77c93fca300fd1349805df377b8c4b4488ef05d0290a1c5a124401ee35aed8e25a626fe81722f5af0
7
- data.tar.gz: 42f355c657e752ab004ceee45158043a059237e9388645c48b857664e7e184f1e5959d48ca8f8802ae10b0cdae432f89629cd6cd2c268f8f3a214b353f5f70a9
6
+ metadata.gz: b67676c6fcbb6dca1fc79f4e7e946464a90db61b39ad2c8e262bce0d7b04ae533a38aa7cdedc39beb0d036ca92173fbd036d0db678af372429aa69ea45617dc0
7
+ data.tar.gz: c840ad0c2058f3d4f2cdc964913b28aa33dd67320a348e128535c81c81c8c81217c4b3145c3fb45fd42649690c15b9a3dfc621bd55acf4b772f6b319f8d9a1b7
@@ -10,7 +10,7 @@ BuildLabels::CommandLine::COMMANDS[:cache] = Class.new do
10
10
  service['build'] = { 'context' => service['build'] }
11
11
  end
12
12
  # registry = params[:registry]
13
- image = service['image']
13
+ image = service['image'].gsub( /:.*/, '')
14
14
  service['build']['cache_from'] = [ "type=registry,ref=#{image}:cache" ]
15
15
  service['build']['cache_to'] = [ "type=registry,ref=#{image}:cache,mode=max" ]
16
16
  # # - type=local,src=./.cache
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BuildLabels
2
2
  class Builder
3
- VERSION = '0.0.12'
3
+ VERSION = '0.0.13'
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B