Skip to content

Commit 65f1b1c

Browse files
AlexFenlonhaywoodsh
authored andcommitted
add a way to add plus version via make command (#7568)
1 parent 480824e commit 65f1b1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
VER = $(shell grep IC_VERSION .github/data/version.txt | cut -d '=' -f 2)
33
GIT_TAG = $(shell git describe --exact-match --tags || echo untagged)
44
VERSION = $(VER)-SNAPSHOT
5-
PLUS_ARGS = --secret id=nginx-repo.crt,src=nginx-repo.crt --secret id=nginx-repo.key,src=nginx-repo.key
5+
NGINX_PLUS_VERSION ?= R33
6+
PLUS_ARGS = --build-arg NGINX_PLUS_VERSION=$(NGINX_PLUS_VERSION) --secret id=nginx-repo.crt,src=nginx-repo.crt --secret id=nginx-repo.key,src=nginx-repo.key
67

78
# Variables that can be overridden
89
REGISTRY ?= ## The registry where the image is located.

0 commit comments

Comments
 (0)