{"id":22066087,"url":"https://github.com/pcpratheesh/ecs-task-definition-ci-cd","last_synced_at":"2026-04-16T04:01:36.099Z","repository":{"id":154439055,"uuid":"366070987","full_name":"pcpratheesh/ecs-task-definition-ci-cd","owner":"pcpratheesh","description":"An example code for CI/CD deployment of ECS task definition","archived":false,"fork":false,"pushed_at":"2021-08-23T10:16:05.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T00:41:38.199Z","etag":null,"topics":["aws","aws-ecs","ci","cicd"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcpratheesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-05-10T14:28:01.000Z","updated_at":"2022-03-29T11:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea5ce499-242c-44a5-a9e5-b9e2f3ce72de","html_url":"https://github.com/pcpratheesh/ecs-task-definition-ci-cd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcpratheesh/ecs-task-definition-ci-cd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fecs-task-definition-ci-cd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fecs-task-definition-ci-cd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fecs-task-definition-ci-cd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fecs-task-definition-ci-cd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcpratheesh","download_url":"https://codeload.github.com/pcpratheesh/ecs-task-definition-ci-cd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fecs-task-definition-ci-cd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","aws-ecs","ci","cicd"],"created_at":"2024-11-30T19:25:39.712Z","updated_at":"2026-04-16T04:01:36.080Z","avatar_url":"https://github.com/pcpratheesh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecs-task-definition-ci-cd\nThis repository is simply update the docker image inside an aws ecs cluster task.\n\n### Work flow\nWhen a new update pushed into **staging**, **pre-production**, or **production** branches, the pipline configuration will trigger. It will build a new docker image and pushed to the ECR REPO. Then it will make a new task definition and update the cluster service\n\n# Github Secrets\nFor working this i have added the aws credentials as github secrets. You can add the secrets from settings tab under repository. [Read more](https://docs.github.com/en/actions/reference/encrypted-secrets)\n\nHave to configure following secret credentials\n- AWS_ACCESS_KEY_ID : AWS access key\n- AWS_SECRET_ACCESS_KEY : AWS secret key\n- AWS_ECR_REPO : docker image container repo\n- AWS_ECS_CLUSTER : cluster name\n\n### Execution\nrun main.go under cmd folder to execute in local\n\n### Build docker image\ndocker build -t golang-sample-app -f ./Dockerfile .\n#### dev.workflow.yml\nWill execute the test cases for each every push requests\n\n## deployment.workflow.yml\nFrom this, actual deployment works","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcpratheesh%2Fecs-task-definition-ci-cd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcpratheesh%2Fecs-task-definition-ci-cd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcpratheesh%2Fecs-task-definition-ci-cd/lists"}