build: replace rye with uv #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**' | |
- '!**/README.md' | |
- '!.github/**' | |
- .github/workflows/docker.yml | |
workflow_dispatch: | |
jobs: | |
postgres-backup: | |
name: Build and push | |
runs-on: self-hosted | |
steps: | |
- uses: TooMuch4U/[email protected] | |
- uses: actions/checkout@v3 | |
- run: | | |
docker build -f ./docker/Dockerfile \ | |
-t twirapp/silero-tts-api-server:latest \ | |
--cache-from type=gha,scope=twir-silero-tts-api-server \ | |
--cache-to type=gha,mode=max,scope=twir-silero-tts-api-server . | |
docker push twirapp/silero-tts-api-server:latest |