Files
robot-shop/fluentd/build.sh
Steve Waterworth 5a22b100b2 reorganise directory
2021-03-19 10:17:14 +00:00

13 lines
145 B
Bash
Executable File

#!/bin/sh
IMAGE_NAME="robotshop/fluentd:elastic"
docker build -t "$IMAGE_NAME" .
if [ "$1" = "push" ]
then
docker push "$IMAGE_NAME"
fi