{"id":22201651,"url":"https://github.com/abronin/ecr-retag-action","last_synced_at":"2025-07-27T04:30:45.182Z","repository":{"id":37901235,"uuid":"312816542","full_name":"abronin/ecr-retag-action","owner":"abronin","description":":octocat: GitHub Action to retag existing Docker image in AWS ECR","archived":false,"fork":false,"pushed_at":"2024-03-25T12:50:44.000Z","size":2206,"stargazers_count":28,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-01T13:21:27.297Z","etag":null,"topics":["aws-ecr","aws-ecr-tools","docker","ecr","github-actions","github-actions-docker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/abronin.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":"2020-11-14T12:52:00.000Z","updated_at":"2024-11-17T22:54:13.000Z","dependencies_parsed_at":"2024-02-27T04:25:23.487Z","dependency_job_id":"9720a487-96b6-4c5f-abc9-38e9587e64c1","html_url":"https://github.com/abronin/ecr-retag-action","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.38095238095238093","last_synced_commit":"38afa46d3c70eab14be83d63562b3c56009b8a9e"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abronin%2Fecr-retag-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abronin%2Fecr-retag-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abronin%2Fecr-retag-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abronin%2Fecr-retag-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abronin","download_url":"https://codeload.github.com/abronin/ecr-retag-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227637061,"owners_count":17797203,"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":["aws-ecr","aws-ecr-tools","docker","ecr","github-actions","github-actions-docker"],"created_at":"2024-12-02T16:09:44.846Z","updated_at":"2024-12-02T16:09:45.459Z","avatar_url":"https://github.com/abronin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\n\nGitHub Action to add new tags to existing Docker Image. No pull/push here because of manifest schema v2 usage. Only works with AWS ECR registry.\n\n**Table of Contents**\n\n\u003c!-- toc --\u003e\n\n- [Usage](#usage)\n- [License Summary](#license-summary)\n- [Security Disclosures](#security-disclosures)\n\n\u003c!-- tocstop --\u003e\n\n## Usage\n\n### Provide AWS credential directly.\n\n  ```sh\n        - name: Retag test/image:dev as test/image:staging and test/image:production\n          uses: abronin/ecr-retag-action@v1\n          with:\n            aws-account-id: \"001234567899\" # optional, specify if you need to push to not main account\n            aws-region: us-west-2 # optional, specify if you don't provide AWS_REGION env variable\n            repository: test/image\n            tag: dev\n            new-tags: staging, production\n          env:\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            AWS_REGION: us-west-2\n\n  ```\n\n### Using [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) action.\n\n```sh\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Retag test/image:dev as test/image:staging and test/image:production\n        uses: abronin/ecr-retag-action@v1\n        with:\n          repository: test/image\n          tag: dev\n          new-tags: staging, production\n```\n\n## License Summary\n\nThis code is made available under the MIT license.\n\n## Security Disclosures\n\nIf you would like to report a potential security issue in this project, please do not create a GitHub issue.  Instead, please [email me directly](mailto:abronin@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabronin%2Fecr-retag-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabronin%2Fecr-retag-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabronin%2Fecr-retag-action/lists"}