Changeset View
Changeset View
Standalone View
Standalone View
abcbot/Makefile
- This file was added.
VERSION := 10 | |||||
PROJECT ?= carbon-sensor-187202 | |||||
IMAGE_NAME := abcbot | |||||
.PHONY: image push | |||||
image: | |||||
docker build . -t gcr.io/$(PROJECT)/$(IMAGE_NAME):$(VERSION) | |||||
docker tag gcr.io/$(PROJECT)/$(IMAGE_NAME):$(VERSION) gcr.io/$(PROJECT)/$(IMAGE_NAME):latest | |||||
push: image | |||||
gcloud docker -- push gcr.io/$(PROJECT)/$(IMAGE_NAME):$(VERSION) | |||||
gcloud docker -- push gcr.io/$(PROJECT)/$(IMAGE_NAME):latest |