🐛 fix: use correct workspace path in Docker container

- Remove debug step

- Use /workspace instead of /workspace/arcodange/dance-lessons-coach

- Matches actual Docker volume mount structure
This commit is contained in:
2026-04-08 09:33:40 +02:00
parent 78f6bf393e
commit 84d9ba2ff5

View File

@@ -166,11 +166,8 @@ jobs:
- name: Export DEPS_HASH for Docker Compose
run: echo "DEPS_HASH=${{ needs.build-cache.outputs.deps_hash }}" >> $GITHUB_ENV
- name: Debug workspace structure
run: docker compose -f docker-compose.build.yml run --rm build-cache sh -c "ls -la /workspace && echo '---' && ls -la /workspace/arcodange/dance-lessons-coach 2>/dev/null || echo 'arcodange dir not found' && echo '---' && pwd"
- name: Generate Swagger Docs using Docker Compose
run: docker compose -f docker-compose.build.yml run --rm build-cache sh -c "cd /workspace/arcodange/dance-lessons-coach && pwd && ls -la && go generate ./pkg/server/"
run: docker compose -f docker-compose.build.yml run --rm build-cache sh -c "cd /workspace && go generate ./pkg/server/"
- name: Build all packages using Docker Compose
run: docker compose -f docker-compose.build.yml run --rm -w /workspace build-cache sh -c "go build ./..."