Files
robot-shop/fluentd/build.sh

13 lines
145 B
Bash
Raw Normal View History

2021-03-19 10:17:14 +00:00
#!/bin/sh
IMAGE_NAME="robotshop/fluentd:elastic"
docker build -t "$IMAGE_NAME" .
if [ "$1" = "push" ]
then
docker push "$IMAGE_NAME"
fi