diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index fb443c8..4fcda90 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -56,6 +56,19 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=raw,value=latest,enable=${{ !contains(github.ref_name, '-') }} + - name: Extract LanceDB Docker metadata + id: meta-lancedb + uses: docker/metadata-action@v5 + with: + images: ${{ env.IMAGE_NAME }} + tags: | + type=ref,event=tag + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=raw,value=latest,enable=${{ !contains(github.ref_name, '-') }} + flavor: | + suffix=-lancedb,onlatest=true + - name: Build and push uses: docker/build-push-action@v6 with: @@ -65,3 +78,13 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Build and push LanceDB + uses: docker/build-push-action@v6 + with: + context: . + target: app-lancedb + platforms: linux/amd64 + push: true + tags: ${{ steps.meta-lancedb.outputs.tags }} + labels: ${{ steps.meta-lancedb.outputs.labels }} diff --git a/docker-compose.sqlite-lancedb.yml b/docker-compose.sqlite-lancedb.yml index 1c45d3a..0d9cc65 100644 --- a/docker-compose.sqlite-lancedb.yml +++ b/docker-compose.sqlite-lancedb.yml @@ -1,6 +1,6 @@ services: agent-desk: - image: mlogclub/agent-desk:v1.5.1-rc + image: mlogclub/agent-desk:v1.5.1-rc-lancedb restart: unless-stopped ports: - "8083:8083"