{"id":16100456,"url":"https://github.com/elgohr/ecr-login-action","last_synced_at":"2025-04-07T11:07:30.255Z","repository":{"id":36325854,"uuid":"208587772","full_name":"elgohr/ecr-login-action","owner":"elgohr","description":"A Github Action which can be used to authenticate with AWS ECR","archived":false,"fork":false,"pushed_at":"2025-02-07T05:03:00.000Z","size":30,"stargazers_count":39,"open_issues_count":1,"forks_count":23,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T09:08:45.204Z","etag":null,"topics":["actions","aws","container","docker","ecr","github-actions","publishing"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/elgohr.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-15T12:02:57.000Z","updated_at":"2025-02-07T05:03:04.000Z","dependencies_parsed_at":"2023-01-11T20:41:54.532Z","dependency_job_id":"9ee5d0c2-dc4f-49fc-96c1-3e0701ac492c","html_url":"https://github.com/elgohr/ecr-login-action","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fecr-login-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fecr-login-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fecr-login-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fecr-login-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgohr","download_url":"https://codeload.github.com/elgohr/ecr-login-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640462,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["actions","aws","container","docker","ecr","github-actions","publishing"],"created_at":"2024-10-09T18:46:48.229Z","updated_at":"2025-04-07T11:07:30.235Z","avatar_url":"https://github.com/elgohr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ECR-Login-Action\n\n[![Actions Status](https://github.com/elgohr/ecr-login-action/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/elgohr/ecr-login-action/actions)\n\nThis Action for Docker logs into [AWS ECR](https://aws.amazon.com/de/ecr/) and gets the timely bound credentials for Docker.\n\n## Usage\n\n## Example pipeline\n\n```yaml\nname: Publish Docker\non: [ push ]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Login to ECR\n      id: ecr\n      uses: elgohr/ecr-login-action@v3\n      with:\n        access_key: ${{ secrets.AWS_ACCESS_KEY }}\n        secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        region: ${{ secrets.AWS_REGION }}\n    - name: Publish to Registry\n      uses: elgohr/Publish-Docker-Github-Action@v5\n      with:\n        name: myDocker/repository\n        username: ${{ steps.ecr.outputs.username }}\n        password: ${{ steps.ecr.outputs.password }}\n        registry: ${{ steps.ecr.outputs.registry }}\n```\n\n## Mandatory arguments\n\n`access_key` is the AWS access key  \n`secret_access_key` is the AWS secret access key  \n`region` the region you would like to login to  \n\n## Outputs\n`username` the username for logging in  \n`password` the password for logging in  \n`registry` the registry to log in to  \n`docker_name` the name of the docker image for building and pushing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgohr%2Fecr-login-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgohr%2Fecr-login-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgohr%2Fecr-login-action/lists"}