Print image input file and Docker version
This commit is contained in:
parent
da5ab5ecd3
commit
09e0d4f89a
@ -84,8 +84,13 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
|
|||||||
context="$script_dir"
|
context="$script_dir"
|
||||||
fi
|
fi
|
||||||
echo "::group::Building docker image for $image"
|
echo "::group::Building docker image for $image"
|
||||||
|
echo "Image input"
|
||||||
|
cat $hash_key
|
||||||
echo "Image input checksum ${cksum}"
|
echo "Image input checksum ${cksum}"
|
||||||
|
|
||||||
|
# Print docker version
|
||||||
|
docker --version
|
||||||
|
|
||||||
# On non-CI or PR jobs, we don't have permissions to write to the registry cache, so we should
|
# On non-CI or PR jobs, we don't have permissions to write to the registry cache, so we should
|
||||||
# not use `docker login` nor caching.
|
# not use `docker login` nor caching.
|
||||||
if [[ "$CI" == "" ]] || [[ "$PR_CI_JOB" == "1" ]];
|
if [[ "$CI" == "" ]] || [[ "$PR_CI_JOB" == "1" ]];
|
||||||
|
Loading…
Reference in New Issue
Block a user