Skip to content

serversideup/github-action-docker-swarm-deploy

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Header Image

License Support us
Discourse users Discord

Docker Swarm Deploy with GitHub Actions

Hi! We're Dan and Jay. We're a two person team with a passion for open source products. We created Server Side Up to help share what we learn.

Find us at:

  • 📖 Blog - get the latest guides and free courses on all things web/mobile development.
  • 🙋 Community - get friendly help from our community members.
  • 🤵‍♂️ Get Professional Help - get guaranteed responses within next business day.
  • 💻 GitHub - check out our other open source projects
  • 📫 Newsletter - skip the algorithms and get quality content right to your inbox
  • 🐥 Twitter - you can also follow Dan and Jay
  • ❤️ Sponsor Us - please consider sponsoring us so we can create more helpful resources

Our Sponsors

All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.

Individual Supporters

deligoez  alexjustesen  jeremykenedy  

About this project

This is a GitHub Action intended to simplify the development experience while deploying with Docker Swarm.

Features:

  • 😃 Simple to use
  • 🏗️ Bring your own container + configuration
  • 💯 Replicate 100% of production from Development to CI to Deployment

Usage

Here is an example workflow:

# TBD

Configuration options

Parameter Description Default Required
docker_compose_file_path Set your docker compose file path with the CLI options. -c docker-compose.yml -c docker-compose.prod.yml false
stack_name The name of your docker stack. true
deployment_ssh_private_key The private key you have authenticated to connect to your server via SSH. ⚠️ true
remote_ssh_known_hosts The public key of your SSH server to validate we are connecting to the right server. ⚠️ true
remote_ssh_deployment_user The user that you would like to connect as on the remote server via SSH. deploy ⚠️ true
remote_ssh_server_hostname The hostname or IP address of the server you want to connect to. ⚠️ true
remote_ssh_port The SSH port of the remote server you would like to connect to. 22 false
registry Comma-separated list of container registries to authenticate with (e.g., "docker.io,ghcr.io"). docker.io (Default to Docker Hub if not specified) false
registry-username The username to use to authenticate with the container registry. true
registry-token The token or password to use to authenticate with the container registry. true

Security Disclosures

If you find a security vulnerability, please let us know as soon as possible.

View Our Responsible Disclosure Policy →

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published