docker-utils 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/share/scripts/define-service +3 -6
- 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: 657fc060cc0403e0ae51c9323c6847474288aee9
|
4
|
+
data.tar.gz: a44c61a4b4a6a1df723bad549b56ed932682c36d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d404bacfe5afe14f01d317405c9ba62dca50bd678e91ff60b599a78f4c630c7f12463bfab4c612c9e059d21ed073eb076293bd6f338f30b0f838ac184fcb13d
|
7
|
+
data.tar.gz: a1ddd22c325b7252e6d95bc3fbb9ba10d446ea1ea6052254fb080a5970c829f58c3d132a45c16e1d79b0a1858ab4ff7f7878cd9d7b56857e4bffe2fb7f7d5bbf
|
@@ -5,12 +5,9 @@ echo -n "defining container service '$1'... "
|
|
5
5
|
image_repo=$1
|
6
6
|
shift
|
7
7
|
|
8
|
-
image_tag=$(echo "${image_repo}" |
|
9
|
-
|
10
|
-
|
11
|
-
else
|
12
|
-
image_tag="latest"
|
13
|
-
fi
|
8
|
+
image_tag=$(echo "${image_repo}" | tr ':' ' ' | awk '{print $2;}')
|
9
|
+
image_repo=$(echo "${image_repo}" | tr ':' ' ' | awk '{print $1;}')
|
10
|
+
image_tag=${image_tag:-latest}
|
14
11
|
|
15
12
|
image_name=$(echo "${image_repo}" | tr '/' ' ' | awk '{print $NF;}')
|
16
13
|
|