Skip to content

Commit

Permalink
sets a static build user for prometheus tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn committed Oct 11, 2023
1 parent c731efc commit f5f2811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/prometheus/prometheus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SOURCE_PATTERNS=./cmd/prometheus ./cmd/promtool
EXTRA_GOBUILD_FLAGS=-tags netgo,builtinassets
GIT_COMMIT=$(shell git -C $(REPO) rev-parse --short HEAD)
GIT_BRANCH=$(shell git -C $(REPO) rev-parse --abbrev-ref HEAD)
BUILD_USER=$(shell id -u -n)
BUILD_USER=ec2-user
BUILD_DATE=$(shell git -C $(REPO) show -s --format=format:%cd --date=format:'%Y-%m-%dT%H:%M:%SZ' HEAD)
EXTRA_GO_LDFLAGS=-X github.com/prometheus/common/version.Version=$(GIT_TAG) \
-X github.com/prometheus/common/version.Revision=$(GIT_COMMIT) \
Expand Down

0 comments on commit f5f2811

Please sign in to comment.