docker-sdk: print out SDK revision

This should provide useful information in the CI logs for bisect
purposes etc. Otherwise its not possible to find out which version was
used, just the CI job timestamp.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
pull/69/head
Petr Štetiar 2020-11-09 12:07:40 +01:00 committed by Paul Spooren
parent b8a7d3ed62
commit 4d29ad9963
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ export DOWNLOAD_PATH
./docker-download.sh || exit 1
echo "Using SDK from revision $(sed -ne 's/REVISION:=//p' ./build/include/version.mk)"
DOCKERFILE="${DOCKERFILE:-Dockerfile}"
# Copy Dockerfile inside build context to support older Docker versions
# See https://github.com/docker/cli/pull/886