Workflow: Switch to burningtyger Docker image to fix Windows path errors
Some checks failed
Build Tamigo CLI / Build Linux Binary (push) Successful in 50s
Build Tamigo CLI / Build Windows Binary (push) Failing after 5s

This commit is contained in:
Daniel Dybing
2026-03-11 14:50:49 +01:00
parent 4577d9f6b9
commit ffcca538bf
2 changed files with 9 additions and 15 deletions

View File

@@ -40,27 +40,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build Windows executable via Docker (Unique Names)
- name: Build Windows executable via Docker (Modern & Robust)
run: |
# Ensure unique container name for this run
CONTAINER_NAME="builder-${{ github.run_id }}"
# Clean up any existing container with this name just in case
docker rm -f $CONTAINER_NAME || true
# Create container
docker create --name $CONTAINER_NAME cdrx/pyinstaller-windows
# Using a more modern Python 3.10 image that handles paths better
docker create --name $CONTAINER_NAME burningtyger/pyinstaller-windows "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py"
# Copy source code
docker cp . $CONTAINER_NAME:/src
# Run build
docker start -a $CONTAINER_NAME
# Copy results
docker cp $CONTAINER_NAME:/src/dist .
# Clean up
docker rm $CONTAINER_NAME
- name: Debug - List output files