athome/scripts/docker-push.sh

10 lines
199 B
Bash
Raw Normal View History

#!/bin/sh
VERSION=0.1.0
LOCAL_IMAGE="athome"
REMOTE_IMAGE="athome"
docker build -t $LOCAL_IMAGE .
docker tag $LOCAL_IMAGE:latest mos4/$REMOTE_IMAGE:$VERSION
docker push mos4/$REMOTE_IMAGE:$VERSION