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

feat(cli): tag imge with latest when dowloaded with --latest option #80

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

titom73
Copy link
Owner

@titom73 titom73 commented Mar 20, 2024

Configure latest tag to docker cEOS image when using CLI option --latest

❯ ardl get eos --image-type cEOS -l -rtype \M --import-docker
πŸͺ eos-downloader is starting...
    - Image Type: cEOS
    - Version: None
πŸ”Ž  Searching file cEOS-lab-4.30.5M.tar.xz
    -> Found file at /support/download/EOS-USA/Active Releases/4.30/EOS-4.30.5M/cEOS-lab/cEOS-lab-4.30.5M.tar.xz
πŸ’Ύ  Downloading cEOS-lab-4.30.5M.tar.xz ...
πŸš€  Running checksum validation
πŸ”Ž  Searching file cEOS-lab-4.30.5M.tar.xz.sha512sum
    -> Found file at /support/download/EOS-USA/Active Releases/4.30/EOS-4.30.5M/cEOS-lab/cEOS-lab-4.30.5M.tar.xz.sha512sum
πŸ’Ύ  Downloading cEOS-lab-4.30.5M.tar.xz.sha512sum ...
βœ…  Downloaded file is correct.
πŸš€ Importing image cEOS-lab-4.30.5M.tar.xz to arista/ceos:4.30.5M
sha256:f03d2ee2250675d1cc2b271a9d354ff864a2968e769663c925364ae5ac5ad4c9
πŸš€ Configuring arista/ceos:4.30.5M:4.30.5M to be latest
βœ…  processing done !

❯ docker images G arista/ceos
arista/ceos                                                                                          4.30.5M          f03d2ee22506   12 seconds ago   1.95GB
arista/ceos                                                                                          latest           f03d2ee22506   12 seconds ago   1.95GB

@titom73 titom73 self-assigned this Mar 20, 2024
@titom73 titom73 added enhancement New feature or request CLI labels Mar 20, 2024
@titom73 titom73 marked this pull request as ready for review March 20, 2024 17:06
@titom73 titom73 merged commit 0cb0e86 into main Mar 20, 2024
17 checks passed
@titom73 titom73 deleted the feat/docker-latest branch March 20, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant