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

Add Docker Actions For Deployment #3

Open
josev814 opened this issue Jun 16, 2020 · 2 comments
Open

Add Docker Actions For Deployment #3

josev814 opened this issue Jun 16, 2020 · 2 comments

Comments

@josev814
Copy link
Contributor

Can you deploy an action under the denyhosts/denyhosts-sync-docker repo to deploy the Docker Container automatically over to Docker? I took a quick glance at doing it but figured you might be better doing it than myself. Being that I'm not as well versed in Docker as you are.

@adriel
Copy link
Owner

adriel commented Jun 17, 2020

hmmmm, I've never used actions before, don't think there was a docker one when I set it all up.
I've always just used the "Automated Builds" within Docker hub, which automalily triggers a new build when a change is made in GitHub.
I'll have a look at what Github actions adds when I've got a sec free.

@josev814
Copy link
Contributor Author

Looking at the actions that I committed, it seems that the action will run a test and build the image, and then commit the resulting image to Packages on GitHub. I was able to setup on Docker to do builds when github PR's are merged to master.

I'm thinking that with Actions, we can check if the denyhosts or denyhosts-sync repos have been updated. Then if they'ved been updated, that a new docker version is triggered to be built. Pretty sure I saw that a build trigger can be invoked on docker by accessing a generated URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants