diff --git a/Earthfile b/Earthfile
index fdc3648a537a4f7d48b8d345a4323c2611c3f565..2451ddaeae6c1be527946ab4f4f6afecb8abdf3f 100644
--- a/Earthfile
+++ b/Earthfile
@@ -80,6 +80,4 @@ docs-build:
     SAVE ARTIFACT ./docs/book AS LOCAL ./docs/book
 
 renovate-lint:
-    FROM ghcr.io/renovatebot/renovate
-    COPY ./renovate.json ./
-    RUN renovate-config-validator
+    DO ./shared/earthly+RENOVATE_LINT
diff --git a/shared/earthly/Earthfile b/shared/earthly/Earthfile
new file mode 100644
index 0000000000000000000000000000000000000000..e97f5b4310564ae47b154af3bc13c4988f0c45ef
--- /dev/null
+++ b/shared/earthly/Earthfile
@@ -0,0 +1,7 @@
+VERSION 0.7
+
+RENOVATE_LINT:
+    COMMAND
+    FROM ghcr.io/renovatebot/renovate
+    COPY ./renovate.json ./
+    RUN renovate-config-validator