Skip to content

Commit

Permalink
Handle second line of ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Jun 5, 2024
1 parent 9f871a2 commit 3ca3cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def build_dockerfile(
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")
and dockerfile_item.splitlines()[1].startswith("ARG")
):
docker_arg += [dockerfile_item]
# COPY
Expand Down

0 comments on commit 3ca3cf5

Please sign in to comment.