Skip to content

feat(container-build,merge-multiarch): add repository-prefix input#305

Open
jvanz wants to merge 1 commit intokubewarden:mainfrom
jvanz:main
Open

feat(container-build,merge-multiarch): add repository-prefix input#305
jvanz wants to merge 1 commit intokubewarden:mainfrom
jvanz:main

Conversation

@jvanz
Copy link
Copy Markdown
Member

@jvanz jvanz commented Apr 30, 2026

Description

Add an optional repository-prefix input to both container-build and merge-multiarch actions that allows callers to scope container image names under a path prefix. When set, the image becomes ghcr.io/// instead of the default ghcr.io//. This enables repositories like adm-controller to publish images as ghcr.io/kubewarden/adm-controller/controller.

The Dockerfile path and digest artifact naming remain based solely on the component input, preserving backward compatibility for all existing callers.

Part of kubewarden/adm-controller#1657

Add an optional repository-prefix input to both container-build and
merge-multiarch actions that allows callers to scope container image
names under a path prefix. When set, the image becomes
ghcr.io/<owner>/<repository-prefix>/<component> instead of the default
ghcr.io/<owner>/<component>. This enables repositories like adm-controller
to publish images as ghcr.io/kubewarden/adm-controller/controller.

The Dockerfile path and digest artifact naming remain based solely on the
component input, preserving backward compatibility for all existing callers.

Assisted-by: Github Copilot
Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending review

Development

Successfully merging this pull request may close these issues.

1 participant