diff --git a/renovate.json b/renovate.json index 1ae0071bca..53e61d1cb5 100644 --- a/renovate.json +++ b/renovate.json @@ -7709,6 +7709,17 @@ "version: \"?(?.*?)\"?\\n" ] }, + { + "customType": "regex", + "datasourceTemplate": "github-releases", + "depNameTemplate": "astral-sh/ruff", + "fileMatch": [ + "^tools/ruff/manifest.yaml$" + ], + "matchStrings": [ + "version: \"?(?.*?)\"?\\n" + ] + }, { "customType": "regex", "datasourceTemplate": "github-releases", diff --git a/tools/ruff/Dockerfile.template b/tools/ruff/Dockerfile.template new file mode 100644 index 0000000000..320028d9aa --- /dev/null +++ b/tools/ruff/Dockerfile.template @@ -0,0 +1,20 @@ +#syntax=docker/dockerfile:1.12.1@sha256:93bfd3b68c109427185cd78b4779fc82b484b0b7618e36d0f104d4d801e66d25 + +FROM registry.gitlab.com/uniget-org/images/ubuntu:24.04 AS prepare +COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \ + /etc/profile.d/ \ + /etc/profile.d/ +SHELL [ "bash", "-clo", "errexit" ] +ARG name +ARG version +RUN --mount=type=cache,target=/var/cache/uniget/download <