{"id":21820576,"url":"https://github.com/sue445/dockerhub-slack-webhook","last_synced_at":"2025-04-14T02:53:24.982Z","repository":{"id":30059402,"uuid":"121078366","full_name":"sue445/dockerhub-slack-webhook","owner":"sue445","description":"Docker Hub webhook for slack notification after build","archived":false,"fork":false,"pushed_at":"2025-04-01T20:37:05.000Z","size":1210,"stargazers_count":7,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T21:34:18.946Z","etag":null,"topics":["dockerhub-webhook","slack"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/sue445.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-02-11T03:05:32.000Z","updated_at":"2025-04-01T20:37:08.000Z","dependencies_parsed_at":"2023-11-12T21:24:42.072Z","dependency_job_id":"d9e34a46-5ed3-4761-91ce-465f5bc517a0","html_url":"https://github.com/sue445/dockerhub-slack-webhook","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Fdockerhub-slack-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Fdockerhub-slack-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Fdockerhub-slack-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Fdockerhub-slack-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sue445","download_url":"https://codeload.github.com/sue445/dockerhub-slack-webhook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813829,"owners_count":21165631,"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":["dockerhub-webhook","slack"],"created_at":"2024-11-27T16:37:46.826Z","updated_at":"2025-04-14T02:53:24.955Z","avatar_url":"https://github.com/sue445.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockerhub-slack-webhook\n[Docker Hub](https://hub.docker.com/) webhook for slack notification after build\n\n![Slack](img/slack.png)\n\n[![test](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/test.yml)\n[![docker-gcp](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/docker-gcp.yml/badge.svg)](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/docker-gcp.yml)\n[![docker-ghcr](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/docker-ghcr.yml/badge.svg)](https://github.com/sue445/dockerhub-slack-webhook/actions/workflows/docker-ghcr.yml)\n[![Coverage Status](https://coveralls.io/repos/github/sue445/dockerhub-slack-webhook/badge.svg?branch=master)](https://coveralls.io/github/sue445/dockerhub-slack-webhook?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/a013ff2962f7a49b77f3/maintainability)](https://codeclimate.com/github/sue445/dockerhub-slack-webhook/maintainability)\n\n## Usage\n### 1. Create Incoming WebHook URL\nhttps://slack.com/apps/A0F7XDUAZ-incoming-webhooks\n\n### 2. Deploy Docker image to your environment\nThis application is provided as a Docker image, so you can run it wherever you like.\n\n#### Images\n* [GitHub Container Registry](https://github.com/sue445/dockerhub-slack-webhook/pkgs/container/dockerhub-slack-webhook) **(Recommended)**\n  * `ghcr.io/sue445/dockerhub-slack-webhook:latest`: Use latest version\n  * `ghcr.io/sue445/dockerhub-slack-webhook:X.Y.Z`: Use specified version\n* [Google Artifact Registry](https://console.cloud.google.com/artifacts/docker/dockerhub-slack-webhook/us/dockerhub-slack-webhook/app): If you want to run this app on [Cloud Run](https://cloud.google.com/run), use this image\n  * `us-docker.pkg.dev/dockerhub-slack-webhook/dockerhub-slack-webhook/app:latest`: Use latest version\n  * `us-docker.pkg.dev/dockerhub-slack-webhook/dockerhub-slack-webhook/app:X.Y.Z`: Use specified version\n  * `us-docker.pkg.dev/dockerhub-slack-webhook/dockerhub-slack-webhook/app:edge`: The contents of the main branch are pushed to this tag\n\n#### Available environment variables\n* `SLACK_WEBHOOK_URL` **(Required)** : Incoming Webhook URL\n* `PUMA_THREADS_MIN` : Puma minimum threads count. default is `0`\n* `PUMA_THREADS_MAX` : Puma minimum threads count. default is `5`\n* `PUMA_WORKERS` : Puma workers count. default is `1`\n* `PUMA_PORT` : Puma port. default is `8080`\n* `DEBUG_LOGGING` : If `true` is set, debug logs are output\n* `SENTRY_DSN` : [Sentry](https://sentry.io) DSN. This variable is optional. If you want to use Sentry, please set DSN\n\n### 3. Register webhook to Docker Hub\nRegister webhook url\n\ne.g. \n\n* `https://example.com/webhook`\n  * Without `channel` query, notify to `SLACK_CHANNEL`\n* `https://example.com/webhook?channel=other_channel`\n  * With `channel` query, notify to specific channel. (`#` is needless)\n\n![Docker Hub](img/dockerhub.png)\n\n### 4. Push image to Docker Hub\n\n## Heroku\nThis application was offered as a Heroku application, but [since Heroku is ending its free plan](https://blog.heroku.com/next-chapter), I have made it possible to run it outside of Heroku.\n\nSo this app can run outside of Heroku.\n\nIf you want to run this app on Heroku, browse [heroku branch](https://github.com/sue445/dockerhub-slack-webhook/tree/heroku) and click \"Deploy to Heroku\" button.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsue445%2Fdockerhub-slack-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsue445%2Fdockerhub-slack-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsue445%2Fdockerhub-slack-webhook/lists"}