Skip to content

ci(wash): build and publish a wasip3 canary image#5227

Merged
ricochet merged 1 commit into
mainfrom
worktree-ci-wasip3
Jun 2, 2026
Merged

ci(wash): build and publish a wasip3 canary image#5227
ricochet merged 1 commit into
mainfrom
worktree-ci-wasip3

Conversation

@ricochet

@ricochet ricochet commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Produce a wash image with WASIP3 compiled in, published on every
main push as ghcr.io/wasmcloud/wash:canary-wasip3 and
sha-<full-sha>-wasip3 alongside the default (P2) tags.

  • Dockerfile: add an optional CARGO_FEATURES build-arg. Empty by
    default, so the standard image stays on WASIP2.
  • crates/wash: add a wasi-tls feature that re-exports
    wash-runtime/wasi-tls (the crate previously only re-exported
    wasip3), so --bin wash --features wasip3,wasi-tls resolves.
  • wash.yml: add a wash-image-wasip3 job that delegates to the shared
    docker-build-push reusable workflow with CARGO_FEATURES=wasip3,wasi-tls
  • docker-build-push.yml: raise the build timeout 30→60 min to fit wash's
    Rust release build (wasmtime + rustls)

Produce a wash image with WASIP3 compiled in, published on every
main push as `ghcr.io/wasmcloud/wash:canary-wasip3` and
`sha-<full-sha>-wasip3` alongside the default (P2) tags.

- Dockerfile: add an optional `CARGO_FEATURES` build-arg. Empty by
  default, so the standard image stays on WASIP2.
- crates/wash: add a `wasi-tls` feature that re-exports
  `wash-runtime/wasi-tls` (the crate previously only re-exported
  `wasip3`), so `--bin wash --features wasip3,wasi-tls` resolves.
- wash.yml: add a `wash-image-wasip3` job that delegates to the shared
  docker-build-push reusable workflow with `CARGO_FEATURES=wasip3,wasi-tls`
- docker-build-push.yml: raise the build timeout 30→60 min to fit wash's
  Rust release build (wasmtime + rustls)

Signed-off-by: Bailey Hayes <bailey@cosmonic.com>
@ricochet ricochet requested review from a team as code owners June 2, 2026 01:53

@vados-cosmonic vados-cosmonic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 🚀

@ricochet ricochet merged commit 2cab883 into main Jun 2, 2026
71 of 73 checks passed
@ricochet ricochet deleted the worktree-ci-wasip3 branch June 2, 2026 12:46
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.

2 participants