Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Release-tagged container images are overwritten on each push to main

Abierto
#551 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
39/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker, github-actions, python
Área
ci-cd, devops, release

Línea de trabajo

Revisa .github/workflows/docker-publish.yml y prepline_general/api/version.py, empezando por el paso del workflow que etiqueta la versión y por cómo difieren los pushes a main de los releases. Elige e implementa un enfoque que evite que los pushes a main sobrescriban las imágenes etiquetadas con releases, conservando al mismo tiempo la etiqueta de versión prevista para los releases publicados.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The Build And Push Dock Image action, which runs on each push to main, tags the images pushed with the latest release version.
For example, the commit fa55c3af0d4f38d371934d4a8b9d4b02bf068d17 (which was pushed after v0.1.1 was published) built and published a new container image tagged as 0.1.1, overriding the image originally published for the v0.1.1 release.

This can cause problems for people relying simply on the tag of the container image.
For people pinning the image digest this only causes some minor annoyances, e.g. because tools like renovate will try to upgrade the pinned digest even though the image tag hasn't changed.

A possible fix could be using a pseudo-version in the version file on main, and only setting the "real" version for the commit a release is published on.

Alternatively, the GitHub action responsible for publishing the image could only set the version tag when the action is run for a release.
Possible options for this include using an on-release event trigger, or manually running the workflow and adding a user input to control tagging of the final image

Lenguaje dominante
Python
Estrellas
953
Forks
192
Merge medio
1 d 1 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Unstructured-IO/unstructured-api

Todos los issues de Unstructured-IO/unstructured-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.