Skip to content

fix: Fixing merge comflict in int test #18

fix: Fixing merge comflict in int test

fix: Fixing merge comflict in int test #18

Workflow file for this run

name: Build Images
on:
push:
branches:
- release
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma"
LATEST_VERSION: "0.5.23"
jobs:
build-images:
strategy:
matrix:
chroma-version:
[
0.4.9,
0.4.24,
0.5.23,
]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push release Docker image
uses: docker/[email protected]
if: ${{ env.LATEST_VERSION == matrix.chroma-version }}
with:
context: .
file: image/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
build-args: |
CHROMA_VERSION=${{ matrix.chroma-version }}
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }},${{ env.IMAGE_NAME }}:latest"
- name: Build and push release Docker image
if: ${{ env.LATEST_VERSION != matrix.chroma-version }}
uses: docker/[email protected]
with:
context: .
file: image/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
build-args: |
CHROMA_VERSION=${{ matrix.chroma-version }}
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}"