1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-26 03:20:08 +02:00
echo/website/Makefile
Vishal Rana 9f663fd9c4 Updated css
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-02 15:38:05 -07:00

18 lines
480 B
Makefile

.PHONY: build push deploy
NAME := echo
TAG := $(shell date +'%Y.%m.%dT%H.%M')
build:
rm -rf public
hugo
gox -osarch=linux/amd64 -output server
docker build -t gcr.io/$(PROJECT_ID)/$(NAME):$(TAG) .
push: build
gcloud docker push gcr.io/fluent-anagram-95603/$(NAME):$(TAG)
deploy: push
# https://github.com/kubernetes/kubernetes/blob/release-1.0/docs/user-guide/kubectl/kubectl_rolling-update.md
kubectl rolling-update $(NAME) --image=gcr.io/($PROJECT_ID)/$(NAME):$(TAG)