From ebec452f9f9b21ee8d345a5ec30224d2e8b4eb8c Mon Sep 17 00:00:00 2001 From: Tim Levett Date: Tue, 26 Sep 2023 14:15:39 -0500 Subject: [PATCH] Use the full commit sha (#75489) remove the --short from the commit sha because we had issues with our commit lookup with the short --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a98ab7b3ef0..7e86aa1e36f 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,7 @@ build-docker-full: ## Build Docker image for development. --build-arg BINGO=false \ --build-arg GO_BUILD_TAGS=$(GO_BUILD_TAGS) \ --build-arg WIRE_TAGS=$(WIRE_TAGS) \ - --build-arg COMMIT_SHA=$$(git rev-parse --short HEAD) \ + --build-arg COMMIT_SHA=$$(git rev-parse HEAD) \ --build-arg BUILD_BRANCH=$$(git rev-parse --abbrev-ref HEAD) \ --tag grafana/grafana$(TAG_SUFFIX):dev \ $(DOCKER_BUILD_ARGS) @@ -235,7 +235,7 @@ build-docker-full-ubuntu: ## Build Docker image based on Ubuntu for development. --build-arg BINGO=false \ --build-arg GO_BUILD_TAGS=$(GO_BUILD_TAGS) \ --build-arg WIRE_TAGS=$(WIRE_TAGS) \ - --build-arg COMMIT_SHA=$$(git rev-parse --short HEAD) \ + --build-arg COMMIT_SHA=$$(git rev-parse HEAD) \ --build-arg BUILD_BRANCH=$$(git rev-parse --abbrev-ref HEAD) \ --build-arg BASE_IMAGE=ubuntu:20.04 \ --build-arg GO_IMAGE=golang:1.20.8 \