Skip to content

refactor: new util file for llm.py - llm_response.py, rename test f… #5

refactor: new util file for llm.py - llm_response.py, rename test f…

refactor: new util file for llm.py - llm_response.py, rename test f… #5

Workflow file for this run

name: Build the container image
on:
push:
branches:
- main
paths:
- Dockerfile
- src/**
- poetry.lock
- pyproject.toml
- .github/workflows/build.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: amd64, arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Github Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}/llm-assistant:latest
ghcr.io/${{ github.repository }}/llm-assistant:${{ github.sha }}