All checks were successful
Build ROCm Image / build (push) Successful in 17m21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
941 B
YAML
37 lines
941 B
YAML
name: Build ROCm Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to Gitea Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.sdgarren.com
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: Dockerfile.rocm
|
|
push: true
|
|
tags: |
|
|
git.sdgarren.com/scott/rocm-chatterbox-whisper:latest
|
|
git.sdgarren.com/scott/rocm-chatterbox-whisper:${{ gitea.sha }}
|
|
cache-from: type=registry,ref=git.sdgarren.com/scott/rocm-chatterbox-whisper:latest
|
|
cache-to: type=inline
|