docker tag gcr.io/google_containers/kubekins-test gcr.io/google_containers/kubekins-test:$(TAG)
build:
docker build -t$(IMG):$(TAG) .
docker tag -f$(IMG):$(TAG)$(IMG):latest
@echo Built $(IMG):$(TAG) and tagged with $(IMG):latest
push:container
gcloud docker push gcr.io/google_containers/kubekins-test # Push image tagged as latest to repository
gcloud docker push gcr.io/google_containers/kubekins-test:$(TAG)# Push version tagged image to repository (since this image is already pushed it will simply create or update version tag)