#!/bin/bash

VERSION="0.2"
BUILD=$(date +%m%d.%H%M)
VERSION=$VERSION-$BUILD

docker build --rm -t fetches -f Dockerfile .
docker tag fetches registry.yandex.net/mail/fetches:$VERSION
docker push registry.yandex.net/mail/fetches:$VERSION
