Some checks failed
Build And Publish Docker / build-latest (push) Failing after 12m51s
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Build And Publish Docker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
|
|
build-latest:
|
|
container: ghcr.io/catthehacker/ubuntu:act-22.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install deps
|
|
run: apt update && apt install -y iptables
|
|
|
|
- name: Set up Docker Buildx
|
|
id: buildx
|
|
uses: docker/setup-buildx-action@master
|
|
|
|
- name: Login to Self-Hosted Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: fung.uy
|
|
username: ${{ secrets.MYCO_REGISTRY_USER }}
|
|
password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }}
|
|
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
builder: ${{ steps.buildx.outputs.name }}
|
|
context: ./
|
|
file: ./Dockerfile
|
|
platforms: linux/amd64
|
|
push: true
|
|
build-args: |
|
|
ENV PYTORCH_ROCM_ARCH=gfx1031
|
|
ENV HSA_OVERRIDE_GFX_VERSION=10.3
|
|
MODEL_URL=https://fung.uy/mycosystems/whisperx-amd/raw/branch/main/models/pytorch_model.bin
|
|
tags: |
|
|
fung.uy/mycosystems/whisperx-amd:gfx1031-10.3
|