.PHONY: all build push

all: build push

VERSION := $(shell date +%Y-%m-%dT%H.%M)

build:
	docker build -t security/reni .

push:
	docker tag security/reni registry.yandex.net/security/reni:$(VERSION)
	docker push "registry.yandex.net/security/reni:$(VERSION)"
	@echo
	@echo "Well done!"
	@echo "Uploaded: registry.yandex.net/security/reni:$(VERSION)"
