Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Add git commit ID in the metadata of operator images (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
functicons authored Jan 3, 2020
1 parent 837938d commit 7569772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -99,4 +99,4 @@ undeploy:

# Deploy the sample Flink clusters in the Kubernetes cluster
samples:
kubectl apply -f config/samples/
kubectl apply -f config/samples/

0 comments on commit 7569772

Please sign in to comment.