⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Fix compat models push to LiteLLM and update docs #91

Fix compat models push to LiteLLM and update docs

Fix compat models push to LiteLLM and update docs #91

Workflow file for this run

name: Build and push Docker image
on:
push:
branches: ["main", "master"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # necesario para publicar en GHCR
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Extract version
id: version
run: |
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push backend image
uses: docker/build-push-action@v6
with:
context: .
file: backend/Dockerfile
push: true
tags: |
ghcr.io/makespacemadrid/litellm-updater-backend:latest
ghcr.io/makespacemadrid/litellm-updater-backend:${{ steps.version.outputs.version }}
ghcr.io/makespacemadrid/litellm-updater-backend:${{ github.sha }}
- name: Build and push web image
uses: docker/build-push-action@v6
with:
context: .
file: frontend/Dockerfile
push: true
tags: |
ghcr.io/makespacemadrid/litellm-updater-web:latest
ghcr.io/makespacemadrid/litellm-updater-web:${{ steps.version.outputs.version }}
ghcr.io/makespacemadrid/litellm-updater-web:${{ github.sha }}