fig-lock 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fig/lock.rb +2 -1
- data/lib/fig/lock/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4453dbec342b8d6c9cb86dbb7e340b83f44744c5
|
4
|
+
data.tar.gz: 7785f5c0d8a99c4b15f9e66559859db006583d73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d4f8ce39f1e4b620523d36987d0cce5b17e343acdbf980d305557f7c5ffba1c2ee481821b11d9792ced5de6a352149f980ca2738fe80b050355830e35c73903
|
7
|
+
data.tar.gz: b39672201de01be9cdc7658ac9074069ed6f8b9273df04c2b8f7946c1a38224b810e1dcbbe9b1d3d517107b61722096dd654d3906bef4f405a888240997af3d2
|
data/lib/fig/lock.rb
CHANGED
@@ -84,8 +84,9 @@ module Fig
|
|
84
84
|
hash.each do |k,v|
|
85
85
|
image = v['image']
|
86
86
|
if image
|
87
|
+
image = "#{image}:latest" unless image.index(':')
|
87
88
|
log.info "Fetching #{image} ..."
|
88
|
-
system "sudo docker pull #{image}
|
89
|
+
system "sudo docker pull #{image}"
|
89
90
|
fail "Unable to fetch image: #{image}.\n\tExit code:#{$?.exitstatus}" unless $?.exitstatus.zero?
|
90
91
|
end
|
91
92
|
end
|
data/lib/fig/lock/version.rb
CHANGED