bytecodealliance / bytecodealliance/wkg-github-action

Provide a flag to also publish a `:latest` tag

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/bytecodealliance/sample-wasi-http-rust/pull/52 we're calling a second instance of `wkg-github-action` to publish a `:latest` tag. This has the downside that it seemingly incorrectly encodes the `version` field when uploading the image - which should be set to the semantic version, but is hardcoded to `latest`.

Publishing a rolling `latest` tag alongside versioned artifacts is a common practice in the container world, and it would be convenient if `wkg-github-action` provided native support for this. Or alternatively have a way to separate the "version" annotation in the OCI image from the version we're publishing to the registry. Thanks!

cc/ @thomastaylor312 maybe you have opinions here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.