2017-04-11 13:16:48 +00:00
|
|
|
# Copyright 2017 The Kubernetes Authors.
|
2016-02-03 06:30:10 +00:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2014-11-07 21:37:39 +00:00
|
|
|
.PHONY: build push
|
|
|
|
|
2017-08-03 08:18:02 +00:00
|
|
|
PREFIX = gcr.io/google-containers
|
2015-03-27 01:32:19 +00:00
|
|
|
IMAGE = fluentd-elasticsearch
|
2017-08-03 08:18:02 +00:00
|
|
|
TAG = v2.0.0
|
2014-11-07 21:37:39 +00:00
|
|
|
|
2016-10-10 20:42:29 +00:00
|
|
|
build:
|
2017-01-10 22:29:47 +00:00
|
|
|
docker build --pull -t $(PREFIX)/$(IMAGE):$(TAG) .
|
2014-11-07 21:37:39 +00:00
|
|
|
|
2016-10-10 20:42:29 +00:00
|
|
|
push:
|
2017-08-03 08:18:02 +00:00
|
|
|
gcloud docker -- push $(PREFIX)/$(IMAGE):$(TAG)
|