Add commit and message to container

This commit is contained in:
Matthias 2018-12-02 22:49:30 +01:00
parent 27c2e80cff
commit 3a086aac58
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
TAG=$(echo "${TRAVIS_BRANCH}" | sed -e "s/\//_/")
# Add commit and commit_message to docker container
echo "${TRAVIS_COMMIT} ${TRAVIS_COMMIT_MESSAGE}" > freqtrade_commit
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
echo "event ${TRAVIS_EVENT_TYPE}: full rebuild - skipping cache"
docker build -t freqtrade:${TAG} .