Skip to content

Use a shared GHCR image for wolfCOSE Linux CI - #92

Merged
mattia-moffa merged 8 commits into
mainfrom
ci/ghcr-ci-image
Oct 8, 2026
Merged

mattia-moffa merged 8 commits into
mainfrom
ci/ghcr-ci-image

Conversation

@aidangarske

Copy link
Copy Markdown
Member
  • Published public ghcr.io/wolfssl/wolfcose-ci:latest; anonymous pulling verified.
  • Migrated all Linux jobs and removed workflow apt-get installs. Kept native macOS.
  • Added image publishing and smoke validation, isolated caches, and fixed container Git ownership and release paths.
  • Removed temporary bootstrap triggers.

@aidangarske aidangarske self-assigned this Oct 7, 2026
Copilot AI balanced review requested due to automatic review settings October 7, 2026 22:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The publishing workflow and mutable image references introduce unresolved CI supply-chain risks.

3 open findings
What changed in this PR

Migrates Linux CI to a shared GHCR image while retaining native macOS execution.

Changes:

  • Adds image build, publication, and smoke validation.
  • Moves Linux workflows to the shared container and isolates caches.
  • Adapts workspace trust and release paths for containers.
File Description
.github/​docker/​wolfcose-ci/​Dockerfile Defines the CI image.
.github/​docker/​wolfcose-ci/​Dockerfile.dockerignore Restricts build context.
.github/​docker/​wolfcose-ci/​README.md Documents image maintenance.
.github/​docker/​wolfcose-ci/​smoke-test.sh Validates installed tools.
.github/​workflows/​_resolve-wolfssl.yml Containerizes version resolution.
.github/​workflows/​build-test.yml Containerizes Linux builds.
.github/​workflows/​c99-compliance.yml Containerizes C99 checks.
.github/​workflows/​cmdline-test.yml Containerizes CLI tests.
.github/​workflows/​codeql.yml Containerizes CodeQL analysis.
.github/​workflows/​codespell.yml Runs packaged Codespell.
.github/​workflows/​comprehensive-tests.yml Containerizes algorithm tests.
.github/​workflows/​cose-hpke.yml Containerizes HPKE tests.
.github/​workflows/​coverage.yml Containerizes coverage collection.
.github/​workflows/​coverity.yml Containerizes Coverity analysis.
.github/​workflows/​empty-brace-scan.yml Containerizes scope scanning.
.github/​workflows/​examples.yml Containerizes example builds.
.github/​workflows/​house-style.yml Containerizes style checks.
.github/​workflows/​interop.yml Provides packaged interop toolchains.
.github/​workflows/​lean-build.yml Containerizes lean configurations.
.github/​workflows/​minimal-build.yml Containerizes minimal builds.
.github/​workflows/​misra-2012.yml Uses packaged Cppcheck.
.github/​workflows/​misra-2023.yml Containerizes MISRA checks.
.github/​workflows/​multi-compiler.yml Uses packaged compiler matrix.
.github/​workflows/​nightly.yml Containerizes nightly dispatch.
.github/​workflows/​publish-ci-image.yml Publishes and validates the image.
.github/​workflows/​release-prep.yml Containerizes release qualification.
.github/​workflows/​sanitizer.yml Containerizes sanitizer tests.
.github/​workflows/​scenarios.yml Containerizes scenario tests.
.github/​workflows/​semgrep.yml Runs packaged Semgrep.
.github/​workflows/​stack-bounds.yml Containerizes stack checks.
.github/​workflows/​static-analysis.yml Uses packaged analyzers.
.github/​workflows/​wiki-sync.yml Containerizes wiki publication.
.github/​workflows/​wolfssl-versions.yml Containerizes compatibility tests.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/publish-ci-image.yml Outdated
Comment thread .github/workflows/publish-ci-image.yml Outdated
Comment thread .github/workflows/publish-ci-image.yml
@mattia-moffa
mattia-moffa merged commit c4d4451 into main Oct 8, 2026
85 checks passed
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.

3 participants