Skip to content

Commit

Permalink
remove-old-builder
Browse files Browse the repository at this point in the history
Signed-off-by: Sammy Huang <[email protected]>
  • Loading branch information
yellow-shine committed Dec 21, 2023
1 parent cb06761 commit 9a78b2c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ jobs:
run: |
docker run --rm --privileged tonistiigi/binfmt:latest --install arm64
docker buildx ls
docker buildx create --use --name=milvus --driver docker-container
# Check if the builder named "milvus" exists
if docker buildx ls | grep -q "milvus"; then
echo "Builder 'milvus' already exists. Skipping creation."
else
# Create the builder named "milvus"
echo "Creating builder named 'milvus'..."
docker buildx create --use --name=milvus --driver docker-container
echo "'milvus' builder created."
fi
- name: Docker Build
if: success() && github.event_name == 'pull_request' && github.repository == 'milvus-io/milvus'
shell: bash
Expand Down

0 comments on commit 9a78b2c

Please sign in to comment.