#!/bin/bash -e

manta -v -f build.json || (echo "build failed. Please create a build.json manta file. See the script for details." && exit 1)

docker build -t docker-registry.internal.justin.tv/live-yt-live-annotations:$GIT_COMMIT -f Dockerfile_app .
docker build -t docker-registry.internal.justin.tv/live-yt-live-annotations-worker:$GIT_COMMIT -f Dockerfile_worker .
