bytecodealliance / bytecodealliance/wkg-github-action
Provide a flag to also publish a `:latest` tag
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 2
- Forks
- 5
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner la gestion des tags de registry par wkg-github-action et le PR sample-wasi-http-rust référencé. Déterminez comment une seule invocation de l'action pourrait publier à la fois un tag de version sémantique et :latest, tout en conservant la version sémantique dans l'annotation de l'image OCI. La tâche est terminée lorsque le comportement de tag demandé est pris en charge sans une seconde instance de l'action.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github-actions
- Domaine
- ci-cd
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100