ci(wash): build and publish a wasip3 canary image#5227
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Produce a wash image with WASIP3 compiled in, published on every
main push as
ghcr.io/wasmcloud/wash:canary-wasip3andsha-<full-sha>-wasip3alongside the default (P2) tags.CARGO_FEATURESbuild-arg. Empty bydefault, so the standard image stays on WASIP2.
wasi-tlsfeature that re-exportswash-runtime/wasi-tls(the crate previously only re-exportedwasip3), so--bin wash --features wasip3,wasi-tlsresolves.wash-image-wasip3job that delegates to the shareddocker-build-push reusable workflow with
CARGO_FEATURES=wasip3,wasi-tlsRust release build (wasmtime + rustls)