diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh index 44504f6a938b551c1a7de4e59e8c8bf3348591bb..9bc61b56efbb2be77345062cd6905a0f1eb7d47c 100755 --- a/src/ci/docker/run.sh +++ b/src/ci/docker/run.sh @@ -57,6 +57,10 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then # Sort the file names and cat the content into the hash key sort $copied_files | xargs cat >> $hash_key + # Include the architecture in the hash key, since our Linux CI does not + # only run in x86_64 machines. + uname -m >> $hash_key + docker --version >> $hash_key cksum=$(sha512sum $hash_key | \ awk '{print $1}')