From 39e3b37d42501177f0e564ffa08b02dfbf68ca42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 29 May 2024 22:09:51 -0400 Subject: [PATCH] Revert "Handle renovate comments for dockerfile ARG (#50)" This reverts commit 440858086d8f072c1341588593b814af21ef21a6. --- .automation/build.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.automation/build.py b/.automation/build.py index 713ee36cec5..e35fe28fef6 100644 --- a/.automation/build.py +++ b/.automation/build.py @@ -327,11 +327,7 @@ def build_dockerfile( ) docker_from += [dockerfile_item] # ARG - elif dockerfile_item.startswith("ARG") or ( - len(dockerfile_item.splitlines()) > 1 - and dockerfile_item.splitlines()[0].startswith("# renovate: ") - and dockerfile_item.splitlines()[0].startswith("ARG") - ): + elif dockerfile_item.startswith("ARG"): docker_arg += [dockerfile_item] # COPY elif dockerfile_item.startswith("COPY"):