media-sucker/build.sh

14 lines
172 B
Bash
Raw Normal View History

2022-08-20 16:43:09 -06:00
#! /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