@@ -1032,3 +1032,53 @@ jobs:
10321032 push : true
10331033 tags : ${{ steps.meta.outputs.tags }}
10341034 labels : ${{ steps.meta.outputs.labels }}
1035+
1036+ clone-qdrant-from-offset :
1037+ name : Push Clone From Offset
1038+ runs-on : ${{ matrix.runner }}
1039+ strategy :
1040+ matrix :
1041+ include :
1042+ - runner : blacksmith-8vcpu-ubuntu-2204
1043+ platform : linux/amd64
1044+ tag : latest
1045+ # - runner: blacksmith-8vcpu-ubuntu-2204
1046+ # platform: linux/arm64
1047+ # tag: latest-arm
1048+ # suffix: -arm
1049+ steps :
1050+ - name : Checkout the repo
1051+ uses : actions/checkout@v4
1052+
1053+ # - name: Set up QEMU
1054+ # uses: docker/setup-qemu-action@v3
1055+
1056+ - name : Setup buildx
1057+ uses : docker/setup-buildx-action@v3
1058+
1059+ - name : Login to Docker Hub
1060+ uses : docker/login-action@v3
1061+ with :
1062+ username : ${{ secrets.DOCKER_USERNAME }}
1063+ password : ${{ secrets.DOCKER_PASSWORD }}
1064+
1065+ - name : Docker meta
1066+ id : meta
1067+ uses : docker/metadata-action@v5
1068+ with :
1069+ # list of Docker images to use as base name for tags
1070+ images : |
1071+ trieve/clone-qdrant-from-offset
1072+ tags : |
1073+ type=raw,${{matrix.tag}}
1074+ type=sha,suffix=${{matrix.suffix}}
1075+
1076+ - name : Build and push Docker image
1077+ uses : useblacksmith/build-push-action@v1.0.0-beta
1078+ with :
1079+ platforms : ${{ matrix.platform }}
1080+ context : server/
1081+ file : ./server/Dockerfile.clone-qdrant-from-offset
1082+ push : true
1083+ tags : ${{ steps.meta.outputs.tags }}
1084+ labels : ${{ steps.meta.outputs.labels }}
0 commit comments