Skip to content

Commit 0994d53

Browse files
committed
Escape newlines for buildx args
1 parent 91309b6 commit 0994d53

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/mcp_images.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
# If folder has pyproject.toml
3131
if [ -f "$folder/pyproject.toml" ]; then
3232
cd $folder
33-
docker buildx build --builder cloud-ai-labs
34-
--platform linux/amd64,linux/arm64
35-
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }}
36-
--push .
33+
docker buildx build --builder cloud-ai-labs \
34+
--platform linux/amd64,linux/arm64 \
35+
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
36+
--push .
3737
cd $top_level_folder
3838
else
3939
foldername=$(basename $folder)
40-
docker buildx build --builder cloud-ai-labs
41-
--platform linux/amd64,linux/arm64
42-
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }}
43-
--file $folder/Dockerfile
44-
--push .
40+
docker buildx build --builder cloud-ai-labs \
41+
--platform linux/amd64,linux/arm64 \
42+
--tag dockerpublicbot/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
43+
--file $folder/Dockerfile \
44+
--push .
4545
fi
4646
done

0 commit comments

Comments
 (0)