diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index f82c27c..8483b1f 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -68,6 +68,9 @@ jobs: - name: Build bootupd inside container run: | cd /tmp/bootupd-sdboot + echo "Current directory before Docker run: $(pwd)" + echo "Files in current directory before Docker run:" + ls -la docker run --rm -v $(pwd):/workspace bootupd-sdboot:latest bash -c " # Setup apt-cacher-ng inside container if available if timeout 5 curl -s --connect-timeout 3 \ @@ -122,7 +125,26 @@ jobs: echo \"Looking for .deb files in /workspace:\" && \ ls -la /workspace/*.deb 2>/dev/null || echo \"No .deb files found in /workspace\" " + echo "Current directory after Docker run: $(pwd)" + echo "Files in current directory after Docker run:" + ls -la + - name: Copy Debian package from Docker container + run: | + cd /tmp/bootupd-sdboot + echo "Copying .deb file from Docker container..." + + # The .deb file should be in the current directory due to Docker mount + # But let's verify and copy it explicitly if needed + if [ -f "bootupd_0.1.0++_amd64.deb" ]; then + echo "✅ .deb file found in current directory" + ls -la bootupd_0.1.0++_amd64.deb + else + echo "❌ .deb file not found in current directory" + echo "Files in current directory:" + ls -la + exit 1 + fi - name: Upload to Forgejo Debian Registry run: |