Skip to content

Commit

Permalink
add CONFIG env back to run_docker_build
Browse files Browse the repository at this point in the history
missed in rebase of conda-forge#337
  • Loading branch information
minrk committed Mar 2, 2018
1 parent 6d479f9 commit 8a96eea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda_smithy/templates/run_docker_build.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ touch /home/conda/feedstock_root/build_artifacts/conda-forge-build-done
EOF

set +x
echo "BINSTAR_TOKEN=${BINSTAR_TOKEN}" > "${FEEDSTOCK_ROOT}/env"
echo "BINSTAR_TOKEN=${BINSTAR_TOKEN}" > "${FEEDSTOCK_ROOT}/.circleci/env"
set -x

# Create and run the container in two commands,
Expand All @@ -76,7 +76,8 @@ set -x
CONTAINER=$(docker create -t \
-v "${RECIPE_ROOT}":/home/conda/recipe_root \
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root \
--env-file ${FEEDSTOCK_ROOT}/env \
--env-file ${FEEDSTOCK_ROOT}.circleci/env \
-e CONFIG="${CONFIG}" \
-e HOST_USER_ID="${HOST_USER_ID}" \
{{ docker.image }} \
{{ docker.command }} \
Expand Down

0 comments on commit 8a96eea

Please sign in to comment.