aboutsummaryrefslogtreecommitdiff
path: root/lib/actions/build-docker.bash
diff options
context:
space:
mode:
Diffstat (limited to 'lib/actions/build-docker.bash')
-rw-r--r--lib/actions/build-docker.bash9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/actions/build-docker.bash b/lib/actions/build-docker.bash
index 86060df..235eabe 100644
--- a/lib/actions/build-docker.bash
+++ b/lib/actions/build-docker.bash
@@ -34,8 +34,15 @@ action() {
fi
target=$1
+ shift
- if (( 1 < $# ))
+ # Show warnings
+ if [[ -n $tag ]] && [[ -n $tag_latest ]]
+ then
+ warn "-l is ignored if -T is given"
+ fi
+
+ if (( 0 < $# ))
then
warn "Only $target will be built, additional arguments are being ignored!"
fi