bytecodealliance / bytecodealliance/wkg-github-action
Provide a flag to also publish a `:latest` tag
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 2
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Handhabung von Registry-Tags durch wkg-github-action und den referenzierten sample-wasi-http-rust PR zu überprüfen. Ermittle, wie ein einzelner Aufruf der Action sowohl ein Semantic-Version-Tag als auch :latest veröffentlichen kann, während die Semantic Version in der OCI-Image-Annotation erhalten bleibt. Als erledigt gilt die Aufgabe, wenn das angeforderte Tag-Verhalten ohne eine zweite Action-Instanz unterstützt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions
- Bereich
- ci-cd
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100