Update build-release.yml

This commit is contained in:
Sampson authored and GitHub committed 2025-10-06 13:22:00 -05:00
1 parent ea8bfdee4d
commit 3ed76a76c0
1 file changed
+45 -46
+45 -46
View File
@@ -174,53 +174,52 @@ jobs:
run: | run: |
echo 'DELIVERY_OPTIONS<<EOF' >> $GITHUB_ENV echo 'DELIVERY_OPTIONS<<EOF' >> $GITHUB_ENV
cat >> $GITHUB_ENV <<EOF cat >> $GITHUB_ENV <<EOF
[ [
{ {
"DeliveryOptionTitle": "Brave Search MCP Server", "DeliveryOptionTitle": "Brave Search MCP Server",
"Details": { "Details": {
"EcrDeliveryOptionDetails": { "EcrDeliveryOptionDetails": {
"UsageInstructions": "Navigate to https://brave.com/search/api/ and create an account. Once an account is created, select a plan, and generate an API key. \n\nPlease refer to Brave Search MCP Server usage documentation (https://brave-marketplace-artifacts-prod.s3.us-west-2.amazonaws.com/brave-search-mcp-server/MCP_Server_Usage_Instructions_md.md) for more details about configuration and usage of Brave Search MCP Server", "UsageInstructions": "Navigate to https://brave.com/search/api/ and create an account. Once an account is created, select a plan, and generate an API key. \n\nPlease refer to Brave Search MCP Server usage documentation (https://brave-marketplace-artifacts-prod.s3.us-west-2.amazonaws.com/brave-search-mcp-server/MCP_Server_Usage_Instructions_md.md) for more details about configuration and usage of Brave Search MCP Server",
"AgenticType": [ "AgenticType": [
"MCP_SERVER" "MCP_SERVER"
], ],
"CompatibleServices": [ "CompatibleServices": [
"Bedrock-AgentCore" "Bedrock-AgentCore"
], ],
"Description": "docker pull $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG", "Description": "docker pull $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG",
"DeploymentResources": [ "DeploymentResources": [
{ {
"Url": "https://brave-marketplace-artifacts-prod.s3.us-west-2.amazonaws.com/brave-search-mcp-server/MCP_Server_Usage_Instructions_md.md", "Url": "https://brave-marketplace-artifacts-prod.s3.us-west-2.amazonaws.com/brave-search-mcp-server/MCP_Server_Usage_Instructions_md.md",
"Name": "Brave Search MCP Usage Instructions" "Name": "Brave Search MCP Usage Instructions"
} }
], ],
"ContainerImages": [ "ContainerImages": [
"$MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG" "$MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG"
] ]
} }
} }
}, },
{ {
"DeliveryOptionTitle": "Docker Image", "DeliveryOptionTitle": "Docker Image",
"Details": { "Details": {
"EcrDeliveryOptionDetails": { "EcrDeliveryOptionDetails": {
"UsageInstructions": "docker run --rm -ti -p 8080:8080 --cap-drop all --read-only -e BRAVE_API_KEY=\"XXXX\" -e BRAVE_MCP_TRANSPORT=http -e BRAVE_MCP_PORT=8080 -e BRAVE_MCP_HOST=0.0.0.0 $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG", "UsageInstructions": "docker run --rm -ti -p 8080:8080 --cap-drop all --read-only -e BRAVE_API_KEY=\"XXXX\" -e BRAVE_MCP_TRANSPORT=http -e BRAVE_MCP_PORT=8080 -e BRAVE_MCP_HOST=0.0.0.0 $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG",
"CompatibleServices": [ "CompatibleServices": [
"ECS", "ECS",
"ECS-Anywhere", "ECS-Anywhere",
"EKS", "EKS",
"EKS-Anywhere" "EKS-Anywhere"
], ],
"Description": "Image can be accessed via AWS Marketplace ECR Repository: $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG", "Description": "Image can be accessed via AWS Marketplace ECR Repository: $MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG",
"DeploymentResources": [], "DeploymentResources": [],
"ContainerImages": [ "ContainerImages": [
"$MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG" "$MARKETPL_REGISTRY/$MARKETPL_REPOSITORY:$IMAGE_RELEASE_TAG"
] ]
}
}
} }
} ]
} EOF
]
EOF
- name: Update DeliveryOptions in marketplace-revision-release.yaml - name: Update DeliveryOptions in marketplace-revision-release.yaml
run: yq -i '.ChangeSet[].DetailsDocument.DeliveryOptions = fromjson(env(DELIVERY_OPTIONS))' marketplace-revision-release.yaml run: yq -i '.ChangeSet[].DetailsDocument.DeliveryOptions = fromjson(env(DELIVERY_OPTIONS))' marketplace-revision-release.yaml