harbor: Tag pull time not being set
Expected behavior and actual behavior:
When pulling an image from the registry like e.g. docker pull your-reg.io/dw/testimage:foo
the pull time of the tag foo
is never being set, instead only the pull time of the artifacts is being set. The project log also shows a pull only on the digest: dw/testimage:sha256:74e5ad84a67e9b8ed7609b32dc2460b76175020923d7f494a73a851446222d18
.
Instead I would expect both the artifact pull time AND the tag pull time to be set. Currently none of tags in our registry every show a pull time for any tag.
Could this be a setup problem? I don’t see any option that would suggest enabling/disabling this behavior.
Steps to reproduce the problem:
For me it is the following steps:
- push any image to any project and tag it (or use an existing one)
- pull it via a tag and check if the pull time of the tag is being set
Versions:
- harbor version: 2.4.1
- docker engine version: 20.10.12
- docker-compose version: 2.2.2
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 16 (3 by maintainers)
Any updates on this?
I just tried with an image that I never pulled from that registry:
The pull time is still empty:
The log also shows an update of the pull time on the digest instead of the tag:
The API response for the corresponsing tag: