Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Build and push an image in CI. This extends #2 by pushing the image to a container registry. DockerHub is the default registry in Docker, but isn't the only registry. You could use GitHub's Container Registry as well. We (Docker) have supported GitHub Actions with lots of documentation to help out. You could then extend the pipeline to actually deploy your updated image too.
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!
Related posts
- Portfolio Site Continuous Integration GitHub Action
- Dockerize and Deploy a NodeJS Application to Cloud Run with GitHub Actions
- Automating Tag Creation, Release, and Docker Image Publishing with GitHub Actions
- How to use notification in gitea actions
- Where do you commit files for containers that run CI scripts?