fix: resolve GitHub Actions workflow failures

## Fixed dependency updater workflow
- Added explicit workspace directory handling
- Improved error handling with clear error messages
- Fixed update summary file reading with error suppression
- Added error output for debugging failures

## Fixed Docker build workflow
- Added memory constraints (8GB/16GB swap) to prevent OOM
- Fixed Dockerfile to use npm scripts instead of direct node execution
- Added fallback mechanism: optimized rebuild → regular rebuild → error
- Added buildx ID reference and no-cache filter for db-builder stage

These changes should resolve both workflow failures and make the CI/CD pipeline more robust.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-06-16 15:59:03 +02:00
parent 4c7352448b
commit c1485d8f1b
3 changed files with 29 additions and 5 deletions

View File

@@ -32,7 +32,12 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
memory=8g
memory-swap=16g
- name: Log in to GitHub Container Registry
if: github.event_name != 'pull_request'
@@ -69,6 +74,9 @@ jobs:
build-args: |
BUILDKIT_INLINE_CACHE=1
provenance: false
# Add build constraints to prevent OOM
builder: ${{ steps.buildx.outputs.name }}
no-cache-filters: db-builder
# Nginx build commented out until Phase 2
# build-nginx: