Skip to content

Commit a622e54

Browse files
committed
modify 'release-build' make command to allow for additional build flags
1 parent b5d6823 commit a622e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ endif
306306
release-build: ## Build release for $APP_NAME and tag it with current git hash
307307
@:$(call check_defined, APP_NAME, the name of subdirectory of /infra that holds the application's infrastructure code)
308308
cd $(APP_NAME) && $(MAKE) release-build \
309-
OPTS="--tag $(IMAGE_NAME):latest --tag $(IMAGE_NAME):$(IMAGE_TAG)"
309+
OPTS="--tag $(IMAGE_NAME):latest --tag $(IMAGE_NAME):$(IMAGE_TAG) $(OPTIONAL_BUILD_FLAGS)"
310310

311311
release-publish: ## Publish release to $APP_NAME's build repository
312312
@:$(call check_defined, APP_NAME, the name of subdirectory of /infra that holds the application's infrastructure code)

0 commit comments

Comments
 (0)