feat: Push images to docker hub (#1)

Signed-off-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
bo0tzz
2024-01-17 10:28:40 +01:00
committed by GitHub
parent e9fac30b33
commit 6ccf2f1e0a

View File

@@ -58,6 +58,12 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERIO_USERNAME }}
password: ${{ secrets.DOCKERIO_TOKEN }}
- name: Determine version change
id: changed-version
uses: tj-actions/changed-files@v41
@@ -88,6 +94,7 @@ jobs:
latest=false
images: |
name=ghcr.io/${{ github.repository }}
name=tensorchord/cloudnative-pgvecto-rs
tags: |
type=raw,value=${{ matrix.cnpg }}-${{ matrix.pgvectors }},enable=${{ steps.should-release.outputs.result }}
type=raw,value=${{ steps.version.outputs.pg_major }}-${{ matrix.pgvectors }},enable=${{ steps.should-release.outputs.result }}