update makefiles to use cloud build and update README

This commit is contained in:
patc
2019-01-28 22:44:44 -08:00
parent 7f873f23b9
commit 64918cc2b4
3 changed files with 98 additions and 102 deletions

View File

@@ -12,14 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
.PHONY: build push
.PHONY: build
PREFIX = staging-k8s.gcr.io
IMAGE = fluentd-elasticsearch
PREFIX = gcr.io/fluentd-elasticsearch
IMAGE = fluentd
TAG = v2.4.0
build:
docker build --pull -t $(PREFIX)/$(IMAGE):$(TAG) .
push:
docker push $(PREFIX)/$(IMAGE):$(TAG)
gcloud builds submit --tag $(PREFIX)/$(IMAGE):$(TAG)