Skip to content

fix(ci): Add .dockerignore and improve release workflow - #6

Merged
Vladush merged 3 commits into
masterfrom
fix/ci-artifacts
Jan 6, 2026
Merged

Vladush merged 3 commits into
masterfrom
fix/ci-artifacts

Conversation

@Vladush

@Vladush Vladush commented Jan 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fixes missing riscv64 and i386 artifacts in GitHub Releases.

Root Cause

The v0.9.4 CI run showed build-i386 and build-riscv64 jobs completed, but the Upload artifact step logged:

Warning: No files were found with the provided path: linuxcampam_*.deb

The .deb files were built inside Docker but never extracted to the host.

Changes

.dockerignore (new file)

Prevents build/, .git/, and stale .deb files from being copied into Docker build context. This ensures clean builds for cross-architecture Docker jobs.

ci.yml

  • Add explicit file listing and error handling to artifact extraction step
  • If no .deb files are found after docker cp, the step fails with exit 1 instead of silently proceeding

release.yml

  • Add fail_on_unmatched_files: true to ensure missing artifacts cause an explicit failure

Testing

After merging:

  1. Push a test tag and check whether all 4 debs are there.

- Add file listing after extraction step
- Fail explicitly if no .deb files found (instead of silent upload of nothing)
- Affects build-i386 and build-riscv64 jobs
@Vladush
Vladush merged commit 42ae718 into master Jan 6, 2026
5 checks passed
@Vladush
Vladush deleted the fix/ci-artifacts branch January 6, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant