Skip to content

Separate CI-base publication from WasmEdge image builds - #23

Draft
0yi0 wants to merge 3 commits into
mainfrom
ci/split-devcontainer-workflows
Draft

0yi0 wants to merge 3 commits into
mainfrom
ci/split-devcontainer-workflows

Conversation

@0yi0

@0yi0 0yi0 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Separate CI-base publication from WasmEdge image builds

Base: main
Branch: ci/split-devcontainer-workflows

Summary

  • Convert devcontainer.yml into a standalone workflow triggered by relevant pull requests, pushes to main, and manual dispatches.
  • Build the CI-base image natively on ubuntu-26.04 (AMD64) and ubuntu-26.04-arm (ARM64), publish architecture staging images to GHCR, and assemble a multi-platform index.
  • Smoke-test the published immutable digest on both architectures by checking the architecture and Docker CLI availability.
  • Rename docker.yml to wasmedge-devcontainer.yml and isolate its trigger paths from CI-base inputs.
  • Remove CI-base publication, the reusable GHCR workflow call, and dynamic GHCR image consumption from the remaining-image workflow.
  • Remove all Docker Hub login/publication steps. Remaining Alpine, Ubuntu, and manylinux builds use push: false; Ubuntu and manylinux keep their existing Docker Hub CI-base inputs.
  • Present the GHCR publication summary as a table containing the tag and immutable digest reference.
  • Update the README to document the workflow split and current publication behavior.

Scope and behavior

  • The workflows are independent: remaining-image jobs do not wait for or consume a newly published CI-base image.
  • Pull requests publish candidate CI-base tags without updating latest; non-PR publication currently updates latest before the post-publication smoke tests.

Validation

  • Passed three local-only workflow contract checks (including the publication-summary table check).
  • Checked README workflow paths and descriptions against the current workflow definitions.
  • git diff --check passed.
  • actionlint and PyYAML were unavailable during workflow implementation; no GitHub Actions run or native image build has been verified locally.

Review notes

  • Docker Hub output tags remain in the Bake definitions, but the remaining-image workflow no longer pushes them.
  • CI-base validation is a focused architecture/Docker CLI smoke test, not a full consumer integration build.

0yi0 added 3 commits December 3, 2026 16:41
Signed-off-by: Yi Huang <yi@secondstate.io>
Signed-off-by: Yi Huang <yi@secondstate.io>
Signed-off-by: Yi Huang <yi@secondstate.io>
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