{"id":28738971,"url":"https://github.com/reecem/koyeb-touch","last_synced_at":"2025-08-05T09:11:49.527Z","repository":{"id":64307743,"uuid":"362601973","full_name":"ReeceM/koyeb-touch","owner":"ReeceM","description":"Triggers an update to a Koyeb app service to re-deploy the latest docker image","archived":false,"fork":false,"pushed_at":"2021-05-05T09:43:52.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T05:08:32.647Z","etag":null,"topics":["go","koyeb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReeceM.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}},"created_at":"2021-04-28T20:45:59.000Z","updated_at":"2025-05-15T07:07:23.000Z","dependencies_parsed_at":"2023-01-15T11:00:53.775Z","dependency_job_id":null,"html_url":"https://github.com/ReeceM/koyeb-touch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ReeceM/koyeb-touch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fkoyeb-touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fkoyeb-touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fkoyeb-touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fkoyeb-touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReeceM","download_url":"https://codeload.github.com/ReeceM/koyeb-touch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fkoyeb-touch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268867121,"owners_count":24320287,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"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":["go","koyeb"],"created_at":"2025-06-16T05:07:50.369Z","updated_at":"2025-08-05T09:11:49.499Z","avatar_url":"https://github.com/ReeceM.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koyeb-touch\n\n[![Go](https://github.com/ReeceM/koyeb-touch/actions/workflows/go.yml/badge.svg)](https://github.com/ReeceM/koyeb-touch/actions/workflows/go.yml)\n\n## Usage\n\nTo use this in a ci file, do the following\n\n```bash\nVERSION='v1.0.1' # Get the latest tagged version\ntar xvf \u003c(curl -sL https://github.com/ReeceM/koyeb-touch/releases/download/$VERSION/koyeb-touch-$VERSION-linux-amd64.tar.gz)\nchmod +x koyeb-touch\n./koyeb-touch $KOYEB_API_TOKEN $KOYEB_APP_NAME $KOYEB_SERVICE_NAME\n```\n\nFor GitLab it can be something like so:\n\nYou need to add the following to your CI/CD pipeline settings as variables:\n|`KOYEB_API_TOKEN` | `KOYEB_APP_NAME` | `KOYEB_SERVICE_NAME`| `KOYEB_TOUCH_VERSION` |\n| ---------------- | ---------------- | ------------------- | ----------------------|\n| This is the API token created in Koyeb | The name of the app, you can get it in the URL or what you called it | The name of the service, usually `main` | This is the version of this binary package|\n\n**I would suggest placing the version of the binary in the variables section, as this allows you to update it without having to touch the CI/CD file**\n\nBelow is an example of the Gitlab CI/CD file (it should also work in GitHub, haven't tested it though)\n\n\u003e This is for Linux build images in the yml file, change the version requested by viewing \n\n```yml\n\n# This is a job process that will deploy to Koyeb forcing it to update the image and re-deploy\nkoyeb:\n  stage: deploy\n  allow_failure: true\n  script:\n    - apk add --no-cache libc6-compat\n    - wget -c \"https://github.com/ReeceM/koyeb-touch/releases/download/$KOYEB_TOUCH_VERSION/koyeb-touch-$KOYEB_TOUCH_VERSION-linux-amd64.tar.gz\" -O - | tar -xz -C .\n    - chmod +x koyeb-touch\n    - ./koyeb-touch $KOYEB_API_TOKEN $KOYEB_APP_NAME $KOYEB_SERVICE_NAME\n```\n\nThis will then 'touch' the latest Koyeb service in your app and trigger a new deploy automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecem%2Fkoyeb-touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freecem%2Fkoyeb-touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecem%2Fkoyeb-touch/lists"}