ssh-action
watchtower
ssh-action | watchtower | |
---|---|---|
20 | 215 | |
4,273 | 16,889 | |
- | 1.6% | |
6.7 | 8.2 | |
30 days ago | 10 days ago | |
Shell | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ssh-action
-
Portfolio Site Continuous Integration GitHub Action
This GitHub action will use another ssh-action action to handle the remote ssh connection. After storing the connection credentials in the GitHub repository secrets, this can securely/dynamically connect to the remote Ubuntu machine. The last key for this action job is the script, or verbatim Ubuntu commands that will be run. For the sake of brevity, I have only written pseudo-code for the deployment steps.
-
Do I need Dockerhub for CI/CD with Github Actions?
If you have SSH setup, you could have the your pipeline SSH in and run start your script. A quick search found a few actions that might work, including this one that does most of the heavy lifting for you. Just setup your secrets, give it the command you want to run, and it'll go from there. Good luck!
-
Need advice for deploying a web app on a single server: Docker compose VS direct install + systemd?
Then on my backend and frontend GitHub repos, I'll have another GitHub Actions workflow that uses something like appleboy/ssh-action to simply SSH into my server, pull the new images, and re-start the containers, whenever someone pushes to master.
- How any of this works (github action)?
-
What tools/services are you using to deploy your Symfony app to servers?
Personally I use GitHub Actions that connects via SSH and runs custom bash deploy scripts.
-
Deploy A Simple Application To AWS EC2
Executing remote ssh commands using appleboy/ssh-action@master.
-
Review My CI/CD Tool
Yeah it's definitely a pet project. I'll look into Puppet for actual applications. Do you think that something like this would be a good, realistic alternative rather than going over HTTPS, if the use case is just a few simple, repeated shell commands: https://github.com/marketplace/actions/ssh-remote-commands
-
Setting up Continuous Deployment for a vue app on a VPS using Github Actions
SSH Remote Commands
-
Sync Git Repo To htdocs Folder on Ubuntu VPS?
Or you combine part of both and use a GitHub action to run the script from the first action as a remote SSH command: https://github.com/marketplace/actions/ssh-remote-commands
-
PM2 configuration question
You could add a Github Action to your repo which uses https://github.com/appleboy/ssh-action that SSHs into your server, pulls the repo there and restarts pm2.
watchtower
-
My deployment platform is a shell script
Related: https://github.com/containrrr/watchtower
- PSA - Run "docker image prune" once in a while.
-
Roundcube Open-Source Webmail Software Merges with Nextcloud
> if you're using the docker image, upgrades are a breeze. Just bump the tag on the image, redeploy, and you're done.
Or you could just run Watchtower beside it and it will automatically update your docker containers. https://github.com/containrrr/watchtower If you are OK with automated updates.
-
The Curse of Docker
So i primarily use containers on my local machine walled off from the internet, so it's not a big concern for me. Watchtower [1] is popular among home server users too which automatically updates containers to the latest image.
For production uses I think companies generally build their own containers. They would have a common base linux container and build the other containers based off that with a typical CI/CD pipeline. So if glibc is patched, it's probably patched in the base container and the others are then rebuilt. You don't have to patch each container individually, just the base. Production also minimizes the scope of containers with nothing installed except what's necessary so they have few dependencies.
[1] https://github.com/containrrr/watchtower
-
Ask HN: If you were to build a web app today what tech stack would you choose?
You can use Watchtower (https://containrrr.dev/watchtower/) that solves problem of manual pulling on VPS.
-
Running watchtower weekly or whenever new image is available
I checked https://containrrr.dev/watchtower/ and Arguments, but I don't understand where to attach that using portainer.
-
Long Term Ownership of an Event-Driven System
Again, there are options to automate some of the burden here by using tools such as Watchtower.
-
Updating Docker Apps automagically with Watchtower✨🐳
Have you ever deployed a Docker app on a server, but everytime you push a new version of your image to a Docker registry you need to manually restart your app? If you want to automate this restarting, this blog post is for you! I am now going to show you how you can do this with literally 1 simple command using Watchtower!
- Plex Docker Saved me
- Watchtower updates
What are some alternatives?
build-push-action - GitHub Action to build and push Docker images with Buildx
ouroboros - Automatically update running docker containers with newest available image
checkout - Action for checking out a repo
Diun - Receive notifications when an image is updated on a Docker registry
login-action - GitHub Action to login against a Docker registry
Portainer - Making Docker and Kubernetes management easy.
git-actions - A GitHub Action to run arbitrary git commands
docker-socket-proxy - Proxy over your Docker socket to restrict which requests it accepts
setup-dlang - Github action for dlang compiler setup
shepherd - Docker swarm service for automatically updating your services whenever their image is refreshed
scp-action - GitHub Action that copy files and artifacts via SSH.
whats-up-docker - What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.