doctl icon indicating copy to clipboard operation
doctl copied to clipboard

doctl list-tags flags no longer working

Open sewingpillows opened this issue 3 months ago • 6 comments

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.

sewingpillows avatar Sep 11 '25 21:09 sewingpillows

Hi there,

Thanks for bringing this to our attention, the team is looking into this.

harshmaru7 avatar Sep 12 '25 14:09 harshmaru7

From what I've been investigating this seems to be caused by the bug causing #1750

segf00lt avatar Sep 12 '25 23:09 segf00lt

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

VadymStepanov avatar Sep 25 '25 10:09 VadymStepanov

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
...

etzelc avatar Sep 29 '25 15:09 etzelc

! Kindly assign me , will join dc for more updates , mention me when assigned

aniketsingh1023 avatar Oct 07 '25 15:10 aniketsingh1023

Hi! I’m interested in working on this issue. Could you please assign it to me? Thank you!

Raj-Dwivedi2005 avatar Oct 08 '25 21:10 Raj-Dwivedi2005