Set Gerrit to 3.11.0-rc4

Change-Id: Ib36bb96a5a6d7962adf4d17b7cb081456c5910fb
diff --git a/almalinux/9/Dockerfile b/almalinux/9/Dockerfile
index 1661efe..630500d 100644
--- a/almalinux/9/Dockerfile
+++ b/almalinux/9/Dockerfile
@@ -11,7 +11,7 @@
 RUN yum -y install initscripts && \
     yum -y install java-21-openjdk
 
-RUN yum -y install gerrit-3.11.0-0rc3 && \
+RUN yum -y install gerrit-3.11.0-0rc4 && \
     /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/24/Dockerfile b/ubuntu/24/Dockerfile
index c4746ce..020772c 100644
--- a/ubuntu/24/Dockerfile
+++ b/ubuntu/24/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.11.0-0rc3 && \
+    apt-get -y install gerrit=3.11.0-0rc4 && \
     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}/*' && \