File tree Expand file tree Collapse file tree
builder/rootfs/etc/confd/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,15 +85,15 @@ if [ $CODE -ne 0 ]; then
8585 exit 1
8686fi
8787
88- BUILD_OPTS=()
89- BUILD_OPTS+=' /usr/bin/docker'
90- BUILD_OPTS+=' run -v /etc/environment_proxy:/etc/environment_proxy'
91- # get application configuration
92- BUILD_OPTS+=$( echo $RESPONSE | get-app-values)
93-
9488# if no Dockerfile is present, use slugbuilder to compile a heroku slug
9589# and write out a Dockerfile to use that slug
9690if [ ! -f Dockerfile ]; then
91+ BUILD_OPTS=()
92+ BUILD_OPTS+=' /usr/bin/docker'
93+ BUILD_OPTS+=' run -v /etc/environment_proxy:/etc/environment_proxy'
94+ # get application configuration
95+ BUILD_OPTS+=$( echo $RESPONSE | get-app-values)
96+ BUILD_OPTS+=" -e SOURCE_VERSION=$GIT_SHA "
9797 # run in the background, we'll attach to it to retrieve logs
9898 BUILD_OPTS+=' -d'
9999 BUILD_OPTS+=' -v '
You can’t perform that action at this time.
0 commit comments