ci: build audience-fix branch image to ghcr.io/freudator86/librechat:audience-fix

This commit is contained in:
Tim Freudenthal 2026-05-29 18:44:20 +00:00
parent 1bf8b2a902
commit 7b3dfa6cd7

View file

@ -0,0 +1,43 @@
name: Build audience-fix Docker image
on:
workflow_dispatch:
push:
branches:
- fix/mcp-oauth-audience-param
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (amd64)
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64
tags: |
ghcr.io/freudator86/librechat:audience-fix
ghcr.io/freudator86/librechat:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max