doctl list-tags flags no longer working
Describe the Issue:
Since the last update - we are having issues with doctl registry repository list-tags, where flags such as --format and --no-header are no longer working.
Environment:
- doctl version: 1.142.0-release
- OS: Ubuntu 22.04.2 LTS
- Installation method:
Additional Details: Options such as --format and --no-header are not behaving as expected.
As example:
doctl registry repository list-tags NAME --format Tag | head -n1
Tag Compressed Size Updated At Manifest Digest
Whereas I would expect to see:
Tag
Tested with the previous version without issue.
Hi there,
Thanks for bringing this to our attention, the team is looking into this.
From what I've been investigating this seems to be caused by the bug causing #1750
I can confirm this. Starting from 1.142, flags are not processed:
Expected result from 1.141:
❯ docker run --rm -e DIGITALOCEAN_ACCESS_TOKEN=xxx digitalocean/doctl:1.141.0 registry repository list-v2 --no-header --format Name
ai-tools
ai-tools-chatbot
app
dev-tools
Incorrect result from 1.142 and newer:
❯ docker run --rm -e DIGITALOCEAN_ACCESS_TOKEN=xxx digitalocean/doctl:1.142.0 registry repository list-v2 --no-header --format Name
Name Latest Manifest Latest Tag Tag Count Manifest Count Updated At
ai-tools sha256:96c07bd5a735d248ff2b340dc2d633bd75756b2ef8ec7afd2a5a2afa9f890fd1 develop 5 34 2025-09-25 09:31:17 +0000 UTC
ai-tools-chatbot sha256:7cf6c194726b219a45a25a6cbca17e9d3f37dad328375a7bd57065491f67cc33 develop 6 15 2025-09-23 18:42:51 +0000 UTC
app sha256:83eef40f4ef514ff136e130f16c9d0ddef5a7d240c60aac690747fc7c4106596 feature-SP-9744-ci 3 22 2025-09-22 12:08:00 +0000 UTC
dev-tools sha256:4f7f4ad5f0e2247cce75e1797cd61e492ce324804b08222346dd62f87b5a28c4 php8.4-deb-mongodb-dev 29 82 2025-09-22 07:20:11 +0000 UTC
I see this still happen in version 1.145 with the command doctl registry repository list-v2 --format Name
Output:
Name Latest Manifest Latest Tag Tag Count Manifest Count Updated At
...
! Kindly assign me , will join dc for more updates , mention me when assigned
Hi! I’m interested in working on this issue. Could you please assign it to me? Thank you!