Skip to content

fix: Cleanup stale map in a background goroutine. (#1) #17

fix: Cleanup stale map in a background goroutine. (#1)

fix: Cleanup stale map in a background goroutine. (#1) #17

name: Publish Collector Docker Images
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish-collector:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Short Hash
run: |
echo "GIT_SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.LANGCHAIN_DOCKERHUB_USERNAME }}
password: ${{ secrets.LANGCHAIN_DOCKERHUB_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Publish collector image
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
file: Dockerfile
tags: |
docker.io/langchain/langsmith-collector-proxy:latest
docker.io/langchain/langsmith-collector-proxy:${{ env.GIT_SHORT_SHA }}