TAG = latest
IMAGE = registry.yandex.net/mail/mail-base-focal:$(TAG)

focal: build

build: its_client
	docker build --pull --tag $(IMAGE) .

push: build
	docker push $(IMAGE)

.PHONY: focal build push

# its client
# https://sandbox.yandex-team.ru/resource/3053093041
its_client:
	ya download sbr:3053093041 --output=$@
	chmod 755 $@

.DELETE_ON_ERROR:
