mirror of
https://github.com/golang/go
synced 2024-11-05 18:26:10 -07:00
66487607e2
Updates golang/go#23627 Change-Id: I9dff655b531dc3491419ee1883c570c0bc5d8955 Reviewed-on: https://go-review.googlesource.com/91518 Reviewed-by: Andrew Bonventre <andybons@golang.org>
26 lines
734 B
Makefile
26 lines
734 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=v2
|
|
|
|
.PHONY: usage
|
|
|
|
usage:
|
|
echo "See Makefile"
|
|
exit 1
|
|
|
|
update-deps:
|
|
go install golang.org/x/build/cmd/gitlock
|
|
gitlock --update=Dockerfile --ignore=NONE --tags=autocert golang.org/x/tools/cmd/tip
|
|
|
|
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)
|