{"id":37078583,"url":"https://github.com/laughingman7743/ecr-cli","last_synced_at":"2026-01-14T09:11:58.738Z","repository":{"id":57425531,"uuid":"123755753","full_name":"laughingman7743/ecr-cli","owner":"laughingman7743","description":"Goodbye docker login \u0026 a long repository URL for Amazon ECR :)","archived":true,"fork":false,"pushed_at":"2019-10-21T16:00:38.000Z","size":36,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-27T17:55:33.505Z","etag":null,"topics":["aws","docker","ecr","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laughingman7743.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-04T04:09:56.000Z","updated_at":"2023-01-28T11:19:31.000Z","dependencies_parsed_at":"2022-08-29T22:00:20.688Z","dependency_job_id":null,"html_url":"https://github.com/laughingman7743/ecr-cli","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/laughingman7743/ecr-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingman7743%2Fecr-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingman7743%2Fecr-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingman7743%2Fecr-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingman7743%2Fecr-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laughingman7743","download_url":"https://codeload.github.com/laughingman7743/ecr-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingman7743%2Fecr-cli/sbom","scorecard":{"id":579856,"data":{"date":"2025-08-11","repo":{"name":"github.com/laughingman7743/ecr-cli","commit":"52a1671e8131eddc5ac8c1f3523cf3c3186d9339"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.8 not signed: https://api.github.com/repos/laughingman7743/ecr-cli/releases/11039387","Warn: release artifact v0.0.7 not signed: https://api.github.com/repos/laughingman7743/ecr-cli/releases/11039225","Warn: release artifact v0.0.6 not signed: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10934672","Warn: release artifact v0.0.5 not signed: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10894974","Warn: release artifact v0.0.4 not signed: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10883754","Warn: release artifact v0.0.8 does not have provenance: https://api.github.com/repos/laughingman7743/ecr-cli/releases/11039387","Warn: release artifact v0.0.7 does not have provenance: https://api.github.com/repos/laughingman7743/ecr-cli/releases/11039225","Warn: release artifact v0.0.6 does not have provenance: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10934672","Warn: release artifact v0.0.5 does not have provenance: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10894974","Warn: release artifact v0.0.4 does not have provenance: https://api.github.com/repos/laughingman7743/ecr-cli/releases/10883754"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2020-99 / GHSA-537h-rv9q-vvph","Warn: Project is vulnerable to: PYSEC-2020-100 / GHSA-xrx6-fmxq-rjj2","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2023-207 / GHSA-gwvm-45gx-3cf8","Warn: Project is vulnerable to: PYSEC-2019-133 / GHSA-mh33-7rrq-662w","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2018-32 / GHSA-www2-v7xj-xrc6","Warn: Project is vulnerable to: PYSEC-2021-108","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T18:55:07.193Z","repository_id":57425531,"created_at":"2025-08-20T18:55:07.193Z","updated_at":"2025-08-20T18:55:07.193Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","docker","ecr","python"],"created_at":"2026-01-14T09:11:58.194Z","updated_at":"2026-01-14T09:11:58.730Z","avatar_url":"https://github.com/laughingman7743.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://img.shields.io/pypi/pyversions/ecr-cli.svg\n    :target: https://pypi.org/project/ecr-cli/\n\n.. image:: https://travis-ci.org/laughingman7743/ecr-cli.svg?branch=master\n    :target: https://travis-ci.org/laughingman7743/ecr-cli\n\n.. image:: https://codecov.io/gh/laughingman7743/ecr-cli/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/laughingman7743/ecr-cli\n\n.. image:: https://img.shields.io/pypi/l/ecr-cli.svg\n    :target: https://github.com/laughingman7743/ecr-cli/blob/master/LICENSE\n\n\necr-cli\n=======\n\nGoodbye docker login \u0026 a long registry URL for `Amazon ECR`_ :)\n\n.. _`Amazon ECR`: https://docs.aws.amazon.com/AmazonECR/latest/userguide/what-is-ecr.html\n\nRequirements\n------------\n\n* Python\n\n  - CPython 2,7, 3,4, 3.5, 3.6\n\n* Docker\n\n  - API version \u003e= 1.21\n\nInstallation\n------------\n\n.. code:: bash\n\n    $ pip install ecr-cli\n\nECR Configuration file\n----------------------\n\nIf you place a file in `YAML format`_ with the filename ``.ecr.yml`` in the same directory as ``Dockerfile``,\nprofile name, region name, registry ID and tag can be set.\n\n.. _`YAML format`: http://www.yaml.org/\n\n+--------------+------------+-------------------------------------------------------------------------------------+\n| Key name     | Value      | Description                                                                         |\n+==============+============+=====================================================================================+\n| profile_name | str        | Use a specific profile from your credential file.                                   |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| region_name  | str        | The region to use. Overrides config/env settings.                                   |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| registry_id  | str        | AWS account ID that correspond to a Amazon ECR registry that you want to log in to. |\n+--------------+------------+-------------------------------------------------------------------------------------+\n| tags         | seq of str | Name and optionally a tag in the ‘name:tag’ format.                                 |\n+--------------+------------+-------------------------------------------------------------------------------------+\n\n``.ecr.yml`` example:\n\n.. code:: yaml\n\n    profile_name: null\n    region_name: us-west-2\n    registry_id: null\n    tags:\n      - java/amazonlinux-oracle-java:latest\n      - java/amazonlinux-oracle-java:2017.12-8u162\n\nNOTE: Command line options override settings in this file.\n\nUsage\n-----\n\n.. code::\n\n    Usage: ecr [OPTIONS] COMMAND [ARGS]...\n\n    Options:\n      --profile TEXT        Use a specific profile from your credential file.\n      --region TEXT         The region to use. Overrides config/env settings.\n      --registry-id TEXT    AWS account ID that correspond to a Amazon ECR registry that you want to log in to.\n      --debug / --no-debug  Turn on debug logging.\n      -h, --help            Show this message and exit.\n\n    Commands:\n      build  Build an image from a Dockerfile.\n      pull   Pull an image or a repository from a Amazon ECR registry\n      push   Push an image or a repository to a Amazon ECR registry.\n\nBuild\n~~~~~\n\n.. code::\n\n    Usage: ecr build [OPTIONS] PATH\n\n      Build an image from a Dockerfile.\n\n    Options:\n      -t, --tag TEXT              Name and optionally a tag in the `name:tag` format.\n      --dockerfile PATH           Name of the Dockerfile (Default is `PATH/Dockerfile`).\n      --configfile PATH           Name of the ECR configuration file (Default is `PATH/.ecr.yml`).\n      --cache / --no-cache        Use cache when building the image.\n      --rm / --no-rm              Remove intermediate containers after a successful build.\n      --force-rm / --no-force-rm  Always remove intermediate containers.\n      --pull / --no-pull          Always attempt to pull a newer version of the image.\n      --squash / --no-squash      Squash newly built layers into a single new layer.\n      --push / --no-push          Push an image or a repository to a Amazon ECR registry after a successful build.\n      --quiet / --no-quiet        Suppress the standard output.\n      --no-profile                Forcibly disable the ECR configuration file profile.\n      -h, --help                  Show this message and exit.\n\nPush\n~~~~\n\n.. code::\n\n    Usage: ecr push [OPTIONS] NAME...\n\n      Push an image or a repository to a Amazon ECR registry.\n\n    Options:\n      --quiet / --no-quiet        Suppress the standard output.\n      -h, --help  Show this message and exit.\n\nPull\n~~~~\n\n.. code::\n\n    Usage: ecr pull [OPTIONS] NAME...\n\n      Pull an image or a repository from a Amazon ECR registry\n\n    Options:\n      --quiet / --no-quiet        Suppress the standard output.\n      -h, --help  Show this message and exit.\n\nAuthentication\n--------------\n\nSupport `Boto3 credentials`_.\n\n.. _`Boto3 credentials`: http://boto3.readthedocs.io/en/latest/guide/configuration.html\n\nTesting\n-------\n\nTODO\n\nTODO\n----\n\n#. Progress bar can not be reset :(\n#. Vacuum command\n#. Tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaughingman7743%2Fecr-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaughingman7743%2Fecr-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaughingman7743%2Fecr-cli/lists"}