Skip to content

Commit

Permalink
updated post_build
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 23, 2024
1 parent 165d51a commit 81de12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zookeeper/hooks/post_build
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if ! grep ':' <<< "$IMAGE_NAME"; then
echo "ERROR: failed to determine current tag from Dockerfile!"
exit 1
fi
if [ "$current_tag" != "latest" ]; then
if [[ "$current_tag" =~ \. ]]; then
current_tag="$(awk -F. '{print $1"."$2}' <<< "$current_tag")"
fi
if [ "$docker_branch_base" = "kafka" ]; then
Expand Down

0 comments on commit 81de12e

Please sign in to comment.