Skip to content

Devfile Registry build fails to clone GitHub Enterprise Cloud repositories from extraDevfiles #1672

@vijay070

Description

@vijay070

When building Docker images for the Devfile registry, using extraDevfiles to reference repositories hosted on GitHub Enterprise Cloud (GHEC) causes the build to fail. We require the ability to authenticate using Personal Access Tokens (PATs) to successfully clone these private repositories

Steps to Reproduce:

  • Create a devfile.yaml that includes an extraDevfiles section pointing to a repository on GitHub Enterprise Cloud.
  • Attempt to build the Docker image using the Devfile registry build process.

Expected Behavior:
The build process should successfully clone the specified repository from GHEC and include its contents in the resulting Docker image.

Actual Behavior:
The build process fails to clone the GHEC repository, resulting in a build error. (Repository not found)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/registryDevfile registry for stacks and infrastructurekind/enhancementNew feature or requestlifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions