2017-03-03 13:43:35 -07:00
|
|
|
# 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.
|
|
|
|
|
2017-07-31 23:59:20 -06:00
|
|
|
VERSION=v2
|
|
|
|
|
|
|
|
update-deps:
|
|
|
|
go install golang.org/x/build/cmd/gitlock
|
|
|
|
gitlock --update=Dockerfile --ignore=NONE golang.org/x/tools/cmd/tip
|
2017-03-03 13:43:35 -07:00
|
|
|
|
|
|
|
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
|
2017-07-31 23:59:20 -06:00
|
|
|
gcloud docker -- push gcr.io/symbolic-datum-552/tip:$(VERSION)
|
2017-03-03 13:43:35 -07:00
|
|
|
push-dev: docker-dev
|
2017-07-31 23:59:20 -06:00
|
|
|
gcloud docker -- push gcr.io/go-dashboard-dev/tip:$(VERSION)
|