Skip to content

More fine tunning after debug. This project tends to work better with… #81

More fine tunning after debug. This project tends to work better with…

More fine tunning after debug. This project tends to work better with… #81

# .github/workflows/docker-publish.yml
name: Build and Push Docker Image
# Run this workflow on every push to the 'main' branch
on:
push:
branches: [ main ]
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # Grant permission to write to GitHub Packages
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
# Tag the image with the repository name and 'latest'
tags: ghcr.io/branchingbad/ollama-stt-tts:latest