-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
30 lines (24 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
VERSION ?= $(COMMIT_SHA)
RELEASE := "false"
ifneq ($(TAGGED_VERSION),)
VERSION := $(shell echo $(TAGGED_VERSION) | cut -c 2-)
RELEASE := "true"
endif
ifeq ($(REGISTRY),) # Set quay.io/solo-io as default if REGISTRY is unset
REGISTRY := quay.io/solo-io
endif
.PHONY: docker-release
docker-release:
cd ci && docker build -t $(REGISTRY)/envoy-gloo:$(VERSION) . && docker push $(REGISTRY)/envoy-gloo:$(VERSION)
#----------------------------------------------------------------------------------
# ARM64 Builds
#----------------------------------------------------------------------------------
.PHONY: fast-build-arm
fast-build-arm:
./ci/run_envoy_docker.sh 'ci/do_ci.sh bazel.release'
.PHONY: build-arm
build-arm:
./ci/run_envoy_docker.sh 'ci/do_ci.sh bazel.release //test/extensions... //test/common/... //test/integration/...'
.PHONY: docker-release-arm
docker-release-arm:
cd ci && docker build -f Dockerfile-arm -t $(REGISTRY)/envoy-gloo-arm:$(VERSION) . && docker push $(REGISTRY)/envoy-gloo-arm:$(VERSION)