Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to take bamboo environment variable into a Makefile which passes the variables into docker

Nandagopal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2021

I would like to access the environment variables defined in bamboo from a Makefile which inturn passes these variables into a docker build command.

for eg:- 

build:  

docker build --pull --no-cache \    

--build-arg proxy="http://$(PROXY)\   

 --build-arg PACKAGE_NAME=$(PACKAGE_NAME) \   

I would like to access those bamboo variables inside this Makefile so that I can pass those as "--build-arg".

Is this possible? if yes could you guys please help.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events