Skip to content

Commit

Permalink
OPSEXP-2922 Ensure Tomcat version variables are exported as environme…
Browse files Browse the repository at this point in the history
…nt variables in Makefile for Docker Bake (#114)
  • Loading branch information
pmacius authored Nov 8, 2024
1 parent 3bdebb9 commit 37fd027
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ else
TOMCAT_FIELD := "tomcat9"
endif

TOMCAT_MAJOR := $(shell yq e '.${TOMCAT_FIELD}.major' $(TOMCAT_VERSIONS_FILE))
TOMCAT_VERSION := $(shell yq e '.${TOMCAT_FIELD}.version' $(TOMCAT_VERSIONS_FILE))
TOMCAT_SHA512 := $(shell yq e '.${TOMCAT_FIELD}.sha512' $(TOMCAT_VERSIONS_FILE))
export TOMCAT_MAJOR := $(shell yq e '.${TOMCAT_FIELD}.major' $(TOMCAT_VERSIONS_FILE))
export TOMCAT_VERSION := $(shell yq e '.${TOMCAT_FIELD}.version' $(TOMCAT_VERSIONS_FILE))
export TOMCAT_SHA512 := $(shell yq e '.${TOMCAT_FIELD}.sha512' $(TOMCAT_VERSIONS_FILE))

setenv: auth
ifdef BAKE_NO_CACHE
Expand Down

0 comments on commit 37fd027

Please sign in to comment.