Set Gerrit to 3.9.6

Change-Id: I36f3e41a894c842e4c4d7e14f6939f90b97e366b
diff --git a/almalinux/9/Dockerfile b/almalinux/9/Dockerfile
index ce5b004..7b7d46d 100644
--- a/almalinux/9/Dockerfile
+++ b/almalinux/9/Dockerfile
@@ -10,7 +10,7 @@
 # (pre-trans Gerrit script needs to have access to the Java command)
 RUN yum -y install initscripts && \
     yum -y install java-17-openjdk && \
-    yum -y install gerrit-3.9.5-1 && \
+    yum -y install gerrit-3.9.6-1 && \
     /entrypoint.sh init && \
     rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/* && chown -R gerrit:gerrit /var/gerrit && \
     yum -y clean all
diff --git a/ubuntu/22/Dockerfile b/ubuntu/22/Dockerfile
index d95f4f4..d70a7da 100644
--- a/ubuntu/22/Dockerfile
+++ b/ubuntu/22/Dockerfile
@@ -18,7 +18,7 @@
 # hence it is the only extra step that had to be added
 RUN update-alternatives --install /usr/bin/java java $(which java) 2222 && \
     apt-get -y upgrade && \
-    apt-get -y install gerrit=3.9.5-1 && \
+    apt-get -y install gerrit=3.9.6-1 && \
     apt-mark hold gerrit && \
     /entrypoint.sh init && \
     bash -c 'rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/*' && \