Enhance file selection to support additional audio format (M4A) and update README.md to reflect new supported formats for video and audio recordings.
This commit is contained in:
63
FIX-GITHUB-ACTIONS.md
Normal file
63
FIX-GITHUB-ACTIONS.md
Normal file
@ -0,0 +1,63 @@
|
||||
# 🔧 GitHub Actions Fix Applied
|
||||
|
||||
## What Happened
|
||||
|
||||
The GitHub Actions build failed because Docker registry tags must be lowercase, but the repository name "DataAnts-AI" contains uppercase letters.
|
||||
|
||||
**Error**:
|
||||
```
|
||||
invalid tag "ghcr.io/DataAnts-AI/VideoTranscriber:latest-gpu": repository name must be lowercase
|
||||
```
|
||||
|
||||
## What I Fixed
|
||||
|
||||
1. **Added Lowercase Conversion Step**:
|
||||
```yaml
|
||||
- name: Convert repository name to lowercase
|
||||
id: lowercase-repo
|
||||
run: echo "repository=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
|
||||
```
|
||||
|
||||
2. **Updated All References** to use the lowercase repository name:
|
||||
- Metadata extraction
|
||||
- Main image build
|
||||
- GPU image build
|
||||
|
||||
## Current Status
|
||||
|
||||
- ✅ **Fix Applied**: All workflow files updated
|
||||
- ⏳ **Waiting**: Next push will trigger corrected build
|
||||
- 📦 **Images**: Will be available at `ghcr.io/dataants-ai/videotranscriber:latest`
|
||||
|
||||
## What You Should Do Now
|
||||
|
||||
### Option 1: Wait for Prebuilt Images (Recommended)
|
||||
```bash
|
||||
# Once the GitHub Actions complete successfully, you can use:
|
||||
docker-compose -f docker-compose.prebuilt.yml up -d
|
||||
```
|
||||
|
||||
### Option 2: Use Local Build (Immediate Fix)
|
||||
```bash
|
||||
# Use the fixed local build process:
|
||||
docker-compose down
|
||||
docker-compose up -d --build
|
||||
```
|
||||
|
||||
## How to Check if Prebuilt Images are Ready
|
||||
|
||||
```bash
|
||||
# Check if the image is available
|
||||
docker pull ghcr.io/dataants-ai/videotranscriber:latest
|
||||
|
||||
# If successful, you can use prebuilt images
|
||||
docker-compose -f docker-compose.prebuilt.yml up -d
|
||||
```
|
||||
|
||||
## Expected Timeline
|
||||
|
||||
- **Immediate**: Local builds work with fixed dependencies
|
||||
- **~20-30 minutes**: GitHub Actions will complete and publish images
|
||||
- **Future**: All builds will use reliable prebuilt images
|
||||
|
||||
The core application fix (PyTorch version compatibility) is already in place, so local builds should work perfectly now!
|
||||
Reference in New Issue
Block a user