golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/watchflakes/Makefile (about)

     1  # Copyright 2024 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  
     5  MUTABLE_VERSION ?= latest
     6  VERSION := $(shell ../coordinator/version.sh)
     7  
     8  IMAGE_PROD := gcr.io/symbolic-datum-552/watchflakes
     9  
    10  push-prod:
    11  	gcloud builds submit --project=symbolic-datum-552 --config=cloudbuild.yaml --substitutions=TAG_NAME="$(VERSION)" ../..
    12  
    13  deploy-prod: push-prod
    14  	go install golang.org/x/build/cmd/xb
    15  	xb --prod kubectl --namespace prod set image deployment/watchflakes-deployment watchflakes=$(IMAGE_PROD):$(VERSION)