File tree 3 files changed +17
-0
lines changed 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,6 @@ blocksconvert
18
18
cortex
19
19
query-tee
20
20
test-exporter
21
+
22
+ # This is custom Makefile modification, if it exists.
23
+ Makefile.local
Original file line number Diff line number Diff line change
1
+ # Local settings (optional). See Makefile.local.example for an example.
2
+ # WARNING: do not commit to a repository!
3
+ -include Makefile.local
4
+
1
5
.PHONY : all test clean images protos exes dist doc clean-doc check-doc
2
6
.DEFAULT_GOAL := all
3
7
Original file line number Diff line number Diff line change
1
+ # Example of extending Makefile with Makefile.local.
2
+
3
+ BUILD_IMAGE ?= quay.io/cortexproject/build-image
4
+ IMAGE_PREFIX ?= custom-prefix/
5
+
6
+ blocksconvert-push: cmd/blocksconvert/.uptodate
7
+ docker push $(IMAGE_PREFIX)blocksconvert:$(IMAGE_TAG)
8
+
9
+ cortex-push: cmd/cortex/.uptodate
10
+ docker push $(IMAGE_PREFIX)cortex:$(IMAGE_TAG)
You can’t perform that action at this time.
0 commit comments