Skip to content

chore: Chart version bump #30

chore: Chart version bump

chore: Chart version bump #30

Workflow file for this run

name: Release Charts
on:
push:
branches:
- release
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- name: Run chart-releaser
id: releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Latest release
run: |
echo "Latest release: ${{ steps.releaser.outputs.chart_version }}"
echo "Changed charts: ${{ steps.releaser.outputs.changed_charts }}"
- name: Log in to the Container registry
# if: ${{ steps.releaser.outputs.changed_charts == '' }}
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
# if: ${{ steps.releaser.outputs.changed_charts == '' }}
uses: docker/[email protected]
with:
context: .
file: image/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: "${{ env.IMAGE_NAME }}:latest"