bytecodealliance / bytecodealliance/wkg-github-action
Provide a flag to also publish a `:latest` tag
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 2
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Línea de trabajo
Comienza revisando el manejo de las etiquetas del registry por parte de wkg-github-action y el PR de sample-wasi-http-rust mencionado. Determina cómo una única invocación de la action podría publicar tanto una etiqueta de versión semántica como :latest, preservando la versión semántica en la anotación de la imagen OCI. Se considera completado cuando el comportamiento de etiquetado solicitado es compatible sin una segunda instancia de la action.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github-actions
- Área
- ci-cd
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100