diff --git a/.github/workflows/audience-fix-image.yml b/.github/workflows/audience-fix-image.yml new file mode 100644 index 0000000000..06e7b37237 --- /dev/null +++ b/.github/workflows/audience-fix-image.yml @@ -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