Skip to content

Flexible docker image name generation depending on the container registry#402

Open
erral wants to merge 1 commit into
nextfrom
erral-image-separator
Open

Flexible docker image name generation depending on the container registry#402
erral wants to merge 1 commit into
nextfrom
erral-image-separator

Conversation

@erral
Copy link
Copy Markdown
Member

@erral erral commented May 21, 2026

This PR implements flexible Docker image name generation based on the selected container registry.

Key changes:

  • Introduced __container_registry_prefix_separator to choose between - (GitHub/Docker Hub) and / (GitLab).
  • Updated __container_image_prefix to include the separator.
  • Standardized this logic across all project and add-on templates, including subtemplates.
  • Removed redundant manual dashes in stack files, Makefiles, and READMEs.
  • Added comprehensive tests covering different registries for all main templates.

Verified with pytest (9 new test cases passing).

@erral erral requested review from ericof, pbauer and sneridagh as code owners May 21, 2026 14:16
@erral erral changed the base branch from main to next May 21, 2026 14:17
@erral
Copy link
Copy Markdown
Member Author

erral commented May 21, 2026

This supercedes plone/cookieplone#68 @avoinea

Copy link
Copy Markdown
Member

@avoinea avoinea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants