Fix collator image build

This PS fixes issue in collator image build process when
we pass yaml content to CHARTS extra-vars varible with spaces
and new lines. Currently build doesn't work with yaml contents
having spaces or newline.

Change-Id: I2854c1507d7924cceff279681dc0a39dff8b067d
This commit is contained in:
Pallav Gupta 2021-06-01 11:28:46 -07:00
parent 075ad1fc28
commit cf7c83b588

View File

@ -30,7 +30,7 @@ COPY config /opt/config
ARG CHARTS="/opt/config/charts.yaml"
RUN ansible-playbook -v /opt/playbooks/create_repository.yaml \
-i /opt/playbooks/inventory.yaml \
--extra-vars "CHARTS=$CHARTS"
--extra-vars "CHARTS='$CHARTS'"
FROM chartmuseum/chartmuseum:latest