awes_cli 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deploy_config.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: ae356ef2d3af8d4b50abe527873238f1f1f9d605e9c30360593574caf3fb32d7
|
4
|
+
data.tar.gz: 83a3518d0a80ecc9c0630c182a9f27fe9ff91484872dab852ac5e9d40d2c5845
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340b7a3aff0a95b635178a0c2c556227649e471bbd76b7535a01a89570f6788e7cfb83c72f6ad0f011f76a857d23d5c4e82ddc8897089bc5f2368f0390bc164d
|
7
|
+
data.tar.gz: 829d803fafe6b122941b97067a78ff5703ecfb3b2508a7f0e14d0a9d0cd6e0c0ab5c2b7773a4ac2e1d329fafc608d0b638e557a2d9c883a59b9320c3469c1dc2
|
data/lib/deploy_config.rb
CHANGED
@@ -166,7 +166,7 @@ class DeployConfig
|
|
166
166
|
opt_image_url = options[:image_tag] && "#{gcr_url}:#{options[:image_tag]}"
|
167
167
|
|
168
168
|
image_url = "#{gcr_url}:current"
|
169
|
-
image_url = spec[:image] if spec[:image] && validate_image_tag_exists?(spec[:image])
|
169
|
+
image_url = spec[:image] if spec[:image].empty? && validate_image_tag_exists?(spec[:image])
|
170
170
|
image_url = opt_image_url if validate_image_tag_exists?(opt_image_url)
|
171
171
|
|
172
172
|
if !validate_image_tag_exists?(image_url)
|