forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubeflow#18 from kubeflow/master
[pull] master from kubeflow:master
Showing
11 changed files
with
1,007 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Image URL to use all building/pushing image targets | ||
IMG ?= gcr.io/kubeflow-images-public/admission-webhook | ||
TAG ?= $(eval TAG := $(shell date +v%Y%m%d)-$(shell git describe --tags --always --dirty)-$(shell git diff | shasum -a256 | cut -c -6))$(TAG) | ||
TAG ?= $(shell git describe --tags --always) | ||
GOLANG_VERSION ?= 1.12 | ||
|
||
build: | ||
go build -gcflags 'all=-N -l' -o bin/webhook . | ||
|
||
build-gcr: | ||
docker-build: | ||
docker build -t $(IMG):$(TAG) . | ||
@echo Built $(IMG):$(TAG) | ||
@echo Built $(IMG):$(TAG) | ||
|
||
docker-push: | ||
docker push ${IMG}:${TAG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.