[ https://issues.apache.org/jira/browse/FLINK-27759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541860#comment-17541860 ]
Chesnay Schepler commented on FLINK-27759: ------------------------------------------ Wouldn't it be trivial to embed a .git.properties file during the release process containing the hash, which is bundled in the jar? The release scripts should be able to do that. > Rethink how to get the git commit id for docker image in Flink Kubernetes > operator > ---------------------------------------------------------------------------------- > > Key: FLINK-27759 > URL: https://issues.apache.org/jira/browse/FLINK-27759 > Project: Flink > Issue Type: Improvement > Components: Kubernetes Operator > Reporter: Yang Wang > Assignee: Nicholas Jiang > Priority: Major > > Follow the discussion in the PR[1][2], we need to rethink how the get the git > commit id properly. Currently, we rely on the .git directory. And it is a > problem when building image from source release. > > [1]. [https://github.com/apache/flink-kubernetes-operator/pull/243] > [2]. https://github.com/apache/flink-kubernetes-operator/pull/241 -- This message was sent by Atlassian Jira (v8.20.7#820007)