TAG used when building pause is configurable

This change allows the  `TAG` value in the pause Makefile to be
overridden from the environment. Defaults to existing hard-coded value
in `build/pause/Makefile`
This commit is contained in:
aram price 2021-08-06 10:49:38 -07:00
parent 13c74c4309
commit f9efd14d44
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ dependencies:
version: 3.6
refPaths:
- path: build/pause/Makefile
match: TAG =
match: TAG\s*\?=
- name: "k8s.gcr.io/pause: dependents"
version: 3.5

View File

@ -17,7 +17,7 @@
REGISTRY ?= staging-k8s.gcr.io
IMAGE = $(REGISTRY)/pause
TAG = 3.6
TAG ?= 3.6
REV = $(shell git describe --contains --always --match='v*')
# Architectures supported: amd64, arm, arm64, ppc64le and s390x