Skip to content

Commit

Permalink
Merge branch 'gitlab-registry' into 'master'
Browse files Browse the repository at this point in the history
ADD use Gtilab's registry to host image

See merge request oelmekki/postgres-350d!2
  • Loading branch information
oelmekki committed Jul 10, 2023
2 parents 9968740 + 3d54c04 commit e8f051a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ services:

stages:
- test
- build

testing_image:
stage: test
script:
- docker build -t pg-350d .
- ./test.sh

upload_image:
stage: build
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:15.3
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ editing this dockerfile.
The cube extension, which you'll use to perform operations on vectors, has
a hard limit of 100 dimensions per vector.

## Download

A built image is available on Gitlab's registry. You can pull it this way:

```
docker pull registry.gitlab.com/oelmekki/postgres-350d:15.3
```

## Is it safe?

Patching the hardcoded limit is [the recommended way in postgres
Expand Down

0 comments on commit e8f051a

Please sign in to comment.