-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Expectation:
I want to sync images with digest tag in pulp container registry.
ex-
gcr.io/knative-releases/knative.dev/serving/cmd/controller@sha256:b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404
For tagged images, I can successfully use the --include-tag or --exclude-tag filter options to filter specific tags.
However, the same approach does not work for SHA256 digests.
if I put --include-tags["sha256-b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404"]
gcr repo
Attempted to filter the image using --include-tag with different method, since I am unware that how pulp internally handles it inside the code :
--include-tag '["b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404"]'
--include-tag '["@sha256:b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404"]'
--include-tag '["sha256:b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404"]'
--include-tag '["sha256-b11dbcba050eac9084edd021b7e0eee16b39c9e397b245bc4227266af1893404"]'
Observed Behavior
None of the above variations of the --include-tag filter work when targeting SHA256 digests.
The sync operation completes successfully but does not filter the specified image.
when trying to sync without providing filter option --include-tags then it works out fine.
Additional Notes
This issue is not documented in the official Pulp documentation.
Filtering by tags works as expected, but filtering by digests does not.
Please provide any solution or missing part, and how pulp internally take care of these kind of images.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
