Files
whishper/.gitea/workflows/build-gpu.yml

32 lines
773 B
YAML

name: Build and publish GPU image
on:
workflow_dispatch:
jobs:
build-gpu:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.byte-mate.ru
username: Coder
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and publish linux/amd64 GPU image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.gpu
platforms: linux/amd64
push: true
tags: |
git.byte-mate.ru/coder/whishper-gpu:latest