media-sucker/build.sh

14 lines
172 B
Bash
Executable File

#! /bin/sh
set -e
tag=registry.gitlab.com/dartcatcher/media-sucker/media-sucker
docker build --tag $tag .
case "$1" in
-push|--push)
docker push $tag
;;
esac