diff --git a/Makefile b/Makefile index 5b4e72eb..221a69da 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ builder-image: # Build the Flink Operator docker image operator-image: builder-image test-in-docker - docker build . -t ${IMG} + docker build -t ${IMG} --label git-commit=$(shell git rev-parse HEAD) . @echo "updating kustomize image patch file for Flink Operator resource" sed -e 's#image: .*#image: '"${IMG}"'#' ./config/default/manager_image_patch.template >./config/default/manager_image_patch.yaml @@ -99,4 +99,4 @@ undeploy: # Deploy the sample Flink clusters in the Kubernetes cluster samples: - kubectl apply -f config/samples/ \ No newline at end of file + kubectl apply -f config/samples/