Skip to content

Commit 4a83e46

Browse files
authored
Merge pull request #660 from ansible/TamiTakamiya/AAP-57217/fix-push-build
Fix push build GitHub Actions script
2 parents 5a2a089 + 7c98c87 commit 4a83e46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/common-build-and-publish-artifacts.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
description: "The latest published version of the underlying chatbot service"
2020
required: true
2121
type: string
22+
mcpserver_version:
23+
description: "The latest published version of the underlying MCP server"
24+
required: true
25+
type: string
2226

2327
jobs:
2428

@@ -80,7 +84,7 @@ jobs:
8084
# -------------------------------
8185
- name: Build and store Operator image in @ghcr
8286
run: |
83-
BUILD_ARGS="--build-arg DEFAULT_AI_CONNECT_VERSION=${{ inputs.service_version }} --build-arg DEFAULT_CHATBOT_AI_CONNECT_VERSION=${{ inputs.chatbot_version }} --build-arg OPERATOR_VERSION=${IMAGE_SEMVER_VERSION}" \
87+
BUILD_ARGS="--build-arg DEFAULT_AI_CONNECT_VERSION=${{ inputs.service_version }} --build-arg DEFAULT_CHATBOT_AI_CONNECT_VERSION=${{ inputs.chatbot_version }} --build-arg DEFAULT_MCP_SERVER_VERSION=${{ inputs.mcpserver_version }} --build-arg OPERATOR_VERSION=${IMAGE_SEMVER_VERSION}" \
8488
IMG=ghcr.io/${{ github.repository_owner }}/ansible-ai-connect-operator:${{ github.sha }} \
8589
make docker-buildx
8690

0 commit comments

Comments
 (0)