From cf7c83b58804032461f4264cb859cf28f1d3dc87 Mon Sep 17 00:00:00 2001 From: Pallav Gupta Date: Tue, 1 Jun 2021 11:28:46 -0700 Subject: [PATCH] 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 --- helm-chart-collator/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-chart-collator/Dockerfile b/helm-chart-collator/Dockerfile index 4d070e4..ad3d004 100644 --- a/helm-chart-collator/Dockerfile +++ b/helm-chart-collator/Dockerfile @@ -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