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 +4 -4
- data/lib/build-labels/command_cache.rb +1 -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: 6ec498cbc10336a3948caf8d7f00c727a470313334c40d991df4bdaa242b52e2
|
4
|
+
data.tar.gz: fb2e1057d222673564957cea9aac81ee29d80f2b1434af9430933ca4d19e44ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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