tests: Update the compiler-tests.sh to use the v22-1 images

This keeps the running of the compiler tests consistent by using a fixed
version of the compiler images.

Change-Id: I6e8d8313939696ed22f22e55f9c274c0105ce236
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/65918
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/tests/compiler-tests.sh b/tests/compiler-tests.sh
index e01d9de..5793828 100755
--- a/tests/compiler-tests.sh
+++ b/tests/compiler-tests.sh
@@ -108,7 +108,7 @@
     # targets for this test
     build_indices=(${build_permutation[@]:0:$builds_count})
 
-    repo_name="${base_url}/${compiler}:latest"
+    repo_name="${base_url}/${compiler}:v22-1"
 
     # Grab compiler image
     docker pull $repo_name >/dev/null