Skip to content

Commit

Permalink
Add debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
matfax committed Nov 11, 2018
1 parent 1c822af commit f99640c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/@orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@ commands:
buildarg=""
args="<< parameters.args >><<# parameters.add_labels >>,BUILD_DATE=`date -u +\"%Y-%m-%dT%H:%M:%SZ\"`,VCS_REF=`git rev-parse --short HEAD`<</ parameters.add_labels >>"
for arg in $args; do
echo "SET ${arg}"
buildarg="${buildarg} --build-arg ${arg}"
done
build="docker build ${buildarg} --cache-from << parameters.base_tag >> -f << parameters.path >>/<< parameters.file >> -t << parameters.base_tag >> << parameters.path >>"
echo $build
eval $build
- unless:
condition: << parameters.args >>
Expand Down

0 comments on commit f99640c

Please # to comment.