Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

setup-pgvector

pgvector instructions for GitHub Actions

Build Status Build Status

Getting Started

First, choose your installation method:

Step

To add to the preinstalled Postgres installation on runner images, add a step to your workflow.

Linux

      - name: Install pgvector
        run: |
          sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
          sudo apt-get install postgresql-14-pgvector

Mac

      - name: Install pgvector
        run: brew install pgvector

See a full example

Service

For a service container, use the ankane/pgvector image instead of postgres.

    services:
      postgres:
        image: ankane/pgvector
        env:
          POSTGRES_HOST_AUTH_METHOD: trust
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
          - 5432:5432

See a full example

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

About

pgvector instructions for GitHub Actions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors