github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/velodrome/transform/Makefile (about) 1 # Please set IMG 2 TAG := $(shell date +v%Y%m%d-%H%M%S) 3 IMG ?= gcr.io/google-containers/github-transform 4 5 all: push 6 7 build: 8 CGO_ENABLED=0 go build . 9 docker build -t $(IMG):$(TAG) . 10 @echo Built $(IMG):$(TAG) 11 12 push: build 13 gcloud docker -- push $(IMG):$(TAG) 14 @echo Pushed $(IMG):$(TAG)