DOCKER_TAG := latest all: build_base build_restream push: push_base push_restream build_base: @echo "Building base image" cd base && docker build -t git.chaoswest.tv/cwtv/concierge/worker-base:$(DOCKER_TAG) -f Dockerfile . push_base: build_base @echo "Pushing base image" docker push git.chaoswest.tv/cwtv/concierge/worker-base:$(DOCKER_TAG) build_restream: build_base @echo "Building restream image" cd restream && docker build -t git.chaoswest.tv/cwtv/concierge/worker-restream:$(DOCKER_TAG) -f Dockerfile . push_restream: build_restream @echo "Pushing restream image" docker push git.chaoswest.tv/cwtv/concierge/worker-restream:$(DOCKER_TAG) .PHONY: all push build_base push_base build_restream push_restream