org.opencontainers.image.source label is incorrect
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Inspecciona la lógica de GitHub Action que genera la etiqueta org.opencontainers.image.source y compárala con el manejo existente de image.url. Reproduce el problema usando los valores proporcionados de organization, registry, image_name y repository; la tarea estará terminada cuando la etiqueta source identifique el repositorio real de GitHub o admita el override explícito propuesto.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found a bug? Maybe our Slack Community can help.
Describe the Bug
org.opencontainers.image.source=https://github.com/${{ inputs.organization }}/${{ inputs.repository }} is an invalid label when the org/repo approach are not used so you have to put improper values to fix this label.
The image.url label would be accurate to the actual GH repo, if the values are the same.
Expected Behavior
Create a proper label for the image.source like it does for image.url.
Steps to Reproduce
Steps to reproduce the behavior:
- Run the GHA with input values unrelated to the current repo
- Observe the label is incorrect.
Example:
Inputs:
organization: client
registry: client.jfrog.io
image_name: example-image
repository: jfrog-non-prod
Creates a label like this:
--label org.opencontainers.image.source=https://github.com/client/jfrog-non-prod
If you don't provide a repository since it is included in the image name or if the GH repo is different from the docker image repo, the label will perpetually be wrong unless you set the repo input to a value solely for satisfying this label.
organization: client
registry: client.jfrog.io
image_name: jfrog-non-prod/example-image
repository: example-image
What if the GH repo is under a completely different name than the docker image name? Something where there is a client-sandbox GH org that is pushing to the client org so the label would also be wrong there as well.
Suggestion: update the logic for that label to match that of image.url and allow an override based on a new input.
Screenshots
This is internal client work so I cannot provide the screenshot and blurring private info would remove the usefulness.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: N/A
- Version [e.g. 10.15]: N/A
Additional Context
This is active in the 1.17.2 version.
- Lenguaje dominante
- Dockerfile
- Estrellas
- 14
- Forks
- 15
- Merge medio
- 8 h 45 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudposse/github-action-docker-build-push
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
cloudposse/github-action-docker-build-push#77 · 1 comentario ·
-
triage
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
cloudposse/github-action-docker-build-push#57 · 3 reacciones ·
-
Dependency DashboardAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
Todos los issues de cloudposse/github-action-docker-build-push
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
kanboard/kanboard#5929 · 1 comentario · 3 reacciones ·
Los mantenedores suelen responder en 5 días
-
Rebuild 6.2.3 images on PHP 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 (CVE-2026-109618, CVE-2026-109619)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
swoole/docker-swoole#65 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
platform-mesh/helm-charts#2569 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
awslabs/threat-composer#362 ·
Los mantenedores suelen responder en 1 día