You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
666 B

  1. # Copyright 2017 The Go Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style
  3. # license that can be found in the LICENSE file.
  4. VERSION=v2
  5. update-deps:
  6. go install golang.org/x/build/cmd/gitlock
  7. gitlock --update=Dockerfile --ignore=NONE golang.org/x/tools/cmd/tip
  8. docker-prod: Dockerfile
  9. docker build -f Dockerfile --tag=gcr.io/symbolic-datum-552/tip:$(VERSION) .
  10. docker-dev: Dockerfile
  11. docker build -f Dockerfile --tag=gcr.io/go-dashboard-dev/tip:$(VERSION) .
  12. push-prod: docker-prod
  13. gcloud docker -- push gcr.io/symbolic-datum-552/tip:$(VERSION)
  14. push-dev: docker-dev
  15. gcloud docker -- push gcr.io/go-dashboard-dev/tip:$(VERSION)