bytecodealliance / bytecodealliance/wkg-github-action

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

オープン
#11 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
2
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、wkg-github-action によるレジストリタグの処理と、参照されている sample-wasi-http-rust PR を確認します。単一の action 呼び出しで、OCI イメージのアノテーション内のセマンティックバージョンを保持したまま、セマンティックバージョンタグと :latest の両方を公開する方法を明らかにします。2 つ目の action インスタンスなしで要求されたタグ動作がサポートされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions
領域
ci-cd
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。