Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically deploy containers on merge to master #114

Open
obscurerichard opened this issue Feb 24, 2019 · 0 comments
Open

Automatically deploy containers on merge to master #114

obscurerichard opened this issue Feb 24, 2019 · 0 comments

Comments

@obscurerichard
Copy link
Member

obscurerichard [8:09 PM]
@hozn what's going on with this Docker Hub webhook?

A webhook is an HTTP call-back triggered by a specific event. You can create a single webhook to start and connect multiple webhooks to further build out your workflow.

When an image is pushed to this repo, your workflows will kick off based on your specified webhooks. Learn More

New Webhook
Webhook name
Webhook URL
Current Webhooks
deploy-container
https://api.sloppy.io/v1/apps/freezingsaddles/services/web/apps//deploy?user=hans1&auth=XXXXXXXX```

hozn [8:11 PM]
Hmmm, I don't remember specifically. I know I was looking into having the containers automatically deployed when new images were pushed. But I never finished the support for that on the server.

obscurerichard [8:12 PM]
ok. I think I'll delete it for now.

hozn [8:12 PM]
(IIRC there are some containers you can run to make that auto deployment possible.)

Yeah, go for it.

obscurerichard [8:15 PM]
Docker Hub stopped building the images automatically for some reason. GitHub got disconnected. I just added back automatic builds.

Something like this looks about right: https://www.npmjs.com/package/dockerhub-webhook
npm
or 
https://github.com/johanbrandhorst/redeploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

1 participant