From b4673f3193d133c195fe6149e0417139491af479 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Mon, 20 May 2024 20:37:32 +0200 Subject: [PATCH] Finally --- sub/project_settings/cookiecutter.json | 3 +++ sub/project_settings/tests/test_cutter.py | 1 + 2 files changed, 4 insertions(+) diff --git a/sub/project_settings/cookiecutter.json b/sub/project_settings/cookiecutter.json index 65e43ff..ddf48b7 100644 --- a/sub/project_settings/cookiecutter.json +++ b/sub/project_settings/cookiecutter.json @@ -9,7 +9,10 @@ "language_code": "en", "volto_version": "{{ 'Yes' | latest_volto }}", "github_organization": "collective", + "container_registry": ["github", "docker_hub", "gitlab"], "__npm_package_name": "{{ cookiecutter.frontend_addon_name }}", + "__container_registry_prefix": "{{ cookiecutter.container_registry | image_prefix }}", + "__container_image_prefix": "{{ cookiecutter.__container_registry_prefix }}{{ cookiecutter.github_organization }}/{{ cookiecutter.project_slug }}", "__folder_name": "{{ cookiecutter.project_slug }}", "__package_name": "{{ cookiecutter.python_package_name | package_name }}", "__package_namespace": "{{ cookiecutter.python_package_name | package_namespace }}", diff --git a/sub/project_settings/tests/test_cutter.py b/sub/project_settings/tests/test_cutter.py index 0466455..eda2ebd 100644 --- a/sub/project_settings/tests/test_cutter.py +++ b/sub/project_settings/tests/test_cutter.py @@ -36,6 +36,7 @@ def test_variable_substitution(build_files_list, variable_pattern, cutter_result "backend/src/project/title/profiles/default/registry/plone.i18n.interfaces.ILanguageSchema.xml", "frontend/.dockerignore", "frontend/Dockerfile", + "frontend/Makefile", "frontend/packages/volto-project-title/src/index.js", ], )