Skip to content

Commit a29b5d4

Browse files
committed
Use mcp/cloud-ai-labs builder
1 parent 265f574 commit a29b5d4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/mcp_images.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
ref: ${{ github.event.client_payload.ref }}
1515
- name: Set up Docker Buildx
1616
uses: docker/setup-buildx-action@v3
17+
with:
18+
driver: cloud
19+
endpoint: "mcp/cloud-ai-labs"
20+
install: true
1721
- name: Login to Docker Hub
1822
uses: docker/login-action@v3
1923
with:
@@ -30,15 +34,13 @@ jobs:
3034
# If folder has pyproject.toml
3135
if [ -f "$folder/pyproject.toml" ]; then
3236
cd $folder
33-
docker buildx build --builder cloud-ai-labs \
34-
--platform linux/amd64,linux/arm64 \
37+
docker buildx build --platform linux/amd64,linux/arm64 \
3538
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
3639
--push .
3740
cd $top_level_folder
3841
else
3942
foldername=$(basename $folder)
40-
docker buildx build --builder cloud-ai-labs \
41-
--platform linux/amd64,linux/arm64 \
43+
docker buildx build --platform linux/amd64,linux/arm64 \
4244
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
4345
--file $folder/Dockerfile \
4446
--push .

0 commit comments

Comments
 (0)