Skip to content

Build DocumentDB images from custom gitHub sources#354

Open
hossain-rayhan wants to merge 2 commits intodocumentdb:mainfrom
hossain-rayhan:rayhan/build-with-custom-image
Open

Build DocumentDB images from custom gitHub sources#354
hossain-rayhan wants to merge 2 commits intodocumentdb:mainfrom
hossain-rayhan:rayhan/build-with-custom-image

Conversation

@hossain-rayhan
Copy link
Copy Markdown
Collaborator

This is needed for personal testing.

Signed-off-by: Rayhan Hossain <rhossain@microsoft.com>
Copilot AI review requested due to automatic review settings April 22, 2026 19:50
Copy link
Copy Markdown
Collaborator

@guanzhousongmicrosoft guanzhousongmicrosoft left a comment

Choose a reason for hiding this comment

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

the PR is fine, but please set up the github repo so only admin/maintainers can start the build, so approve the build started by external contributors, to protect malicious PR and workflow build

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Enables building DocumentDB extension and gateway images using configurable upstream sources for personal testing.

Changes:

  • Adds workflow_dispatch inputs to override the DocumentDB release repo and gateway source image repo.
  • Updates workflow-level env vars to derive DOCUMENTDB_RELEASE_REPO and GATEWAY_SOURCE_IMAGE_REPO from those inputs.

Comment thread .github/workflows/build_documentdb_images.yml Outdated
Comment thread .github/workflows/build_documentdb_images.yml Outdated
Signed-off-by: Rayhan Hossain <rhossain@microsoft.com>
@hossain-rayhan
Copy link
Copy Markdown
Collaborator Author

the PR is fine, but please set up the github repo so only admin/maintainers can start the build, so approve the build started by external contributors, to protect malicious PR and workflow build

Allowed to modify only the repo/image name, not the owner. Now fork owner can only run workflow with their fork image and same for documentdb official repo.

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.

3 participants