mirror of
https://github.com/golang/go
synced 2024-11-19 02:04:42 -07:00
03d3934baf
Change-Id: I52ca7eaca98de27bd920ae01086b3f7724819738 Reviewed-on: https://go-review.googlesource.com/37754 Reviewed-by: Chris Broadfoot <cbro@golang.org>
16 lines
539 B
Makefile
16 lines
539 B
Makefile
# Copyright 2017 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
VERSION=v1
|
|
|
|
docker-prod: Dockerfile
|
|
docker build -f Dockerfile --tag=gcr.io/symbolic-datum-552/tip:$(VERSION) .
|
|
docker-dev: Dockerfile
|
|
docker build -f Dockerfile --tag=gcr.io/go-dashboard-dev/tip:$(VERSION) .
|
|
|
|
push-prod: docker-prod
|
|
gcloud docker push -- gcr.io/symbolic-datum-552/tip:$(VERSION)
|
|
push-dev: docker-dev
|
|
gcloud docker push -- gcr.io/go-dashboard-dev/tip:$(VERSION)
|