docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
234 stars 39 forks source link

labels not shown #2109

Open sdahlbac opened 3 years ago

sdahlbac commented 3 years ago

Not sure if this is a docker hub issue or a buildkit issue, but:

I add labels on the command line like this

docker build -f Dockerfile -t "$CONTAINER_NAME:$VERSION" \
  --label org.opencontainers.image.created=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
  --label org.opencontainers.image.revision=`git show --format=format:"%H" -s` \
  --label org.opencontainers.image.version="$VERSION" \
  --label org.opencontainers.image.title="$CONTAINER_NAME" \
  builds/web

If I run with buildkit, these labels do not show up on dockerhub, while those added within the Dockerfile do. If I disable buildkit, all labels show up correctly.

github-actions[bot] commented 2 years ago

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

sdahlbac commented 2 years ago

This is unfortunately still a thing, still broken.