Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --only-latest flag #11

Open
tomoyamachi opened this issue Dec 29, 2019 · 0 comments
Open

add --only-latest flag #11

tomoyamachi opened this issue Dec 29, 2019 · 0 comments

Comments

@tomoyamachi
Copy link
Collaborator

Currently, dockertags fetches all tag pages for summarize tags if set limit option.

+--------------------------------+------+----------------------+-------------+
|              TAG               | SIZE |      CREATED AT      | UPLOADED AT |
+--------------------------------+------+----------------------+-------------+
| 3                              | 2.7M | 2019-12-24T20:40:57Z | NULL        |
| 3.11                           |      |                      |             |
| latest                         |      |                      |             |
| 3.11.2                         |      |                      |             |
+--------------------------------+------+----------------------+-------------+
| edge                           | 2.7M | 2019-12-20T00:41:30Z | NULL        |
| 20191219                       |      |                      |             |
+--------------------------------+------+----------------------+-------------+
| 3.11.0                         | 2.7M | 2019-12-20T00:41:21Z | NULL        |
+--------------------------------+------+----------------------+-------------+
| 20191114                       | 2.7M | 2019-11-14T22:41:11Z | NULL        |
+--------------------------------+------+----------------------+-------------+
| 3.10                           | 2.7M | 2019-10-21T18:41:18Z | NULL        |
| 3.10.3                         |      |                      |             |
+--------------------------------+------+----------------------+-------------+

But It's enough to know first tag alias when CI pipeline.

$ dockertags --only-latest  -contains 3.10 alpine
+--------------------------------+------+----------------------+-------------+
|              TAG               | SIZE |      CREATED AT      | UPLOADED AT |
+--------------------------------+------+----------------------+-------------+
| 3.10                           | 2.7M | 2019-10-21T18:41:18Z | NULL        |
+--------------------------------+------+----------------------+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant