Skip to content

Commit b87c0ba

Browse files
committed
Allow to build image: fix
1 parent d0e2e7f commit b87c0ba

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/manual-benchmark.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,24 @@ jobs:
3939
- uses: webfactory/ssh-agent@v0.8.0
4040
with:
4141
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
42+
- name: Set up Docker Buildx
43+
if: ${{ inputs.build_vector_db_image == 'true' }}
44+
uses: docker/setup-buildx-action@v3
4245
- name: Login to ghcr.io
4346
if: ${{ inputs.build_vector_db_image == 'true' }}
4447
uses: docker/login-action@v3
4548
with:
4649
registry: ghcr.io
47-
username: ${{ github.actor }}
50+
username: qdrant
4851
password: ${{ secrets.GITHUB_TOKEN }}
4952
- name: Build Vector DB image
5053
if: ${{ inputs.build_vector_db_image == 'true' }}
5154
uses: docker/build-push-action@v6
5255
with:
5356
context: .
5457
push: true
55-
tags: ghcr.io/${{ github.actor }}/vector-db-benchmark:${{ github.ref_name }}
58+
tags: ghcr.io/qdrant/vector-db-benchmark:${{ github.ref_name }}
59+
provenance: false
5660
- name: Benches
5761
run: |
5862
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
@@ -64,7 +68,7 @@ jobs:
6468
export POSTGRES_TABLE=benchmark_manual
6569
export QDRANT__FEATURE_FLAGS__ALL=${{ inputs.feature_flags_all }}
6670
if [ "${{ inputs.build_vector_db_image }}" = "true" ]; then
67-
export VECTOR_DB_BENCHMARK_IMAGE=ghcr.io/${{ github.actor }}/vector-db-benchmark:${{ github.ref_name }}
71+
export VECTOR_DB_BENCHMARK_IMAGE=ghcr.io/qdrant/vector-db-benchmark:${{ github.ref_name }}
6872
export GHCR_PASSWORD=${{ secrets.GITHUB_TOKEN }}
6973
fi
7074
bash -x tools/setup_ci.sh

0 commit comments

Comments
 (0)