kellojo/Docker Service Updater
A GitHub action that updates a docker compose service, based on file changes in your repository. The services are only updated/restarted, if any of their files actually changed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| service-name | The name of the service to update | yes | — |
| config-dir | The directory where the service folders are located. The service folders must be named exactly like the service names in the docker-compose file. | yes | ./config |
| inject-secrets | Whether to inject secrets from GitHub Secrets into the config files. Secrets are injected by replacing placeholders in the format ${{ secrets.SECRET_NAME }} with the corresponding secret value. | no | false |
| remote-project-dir | The directory on the remote server where project is located. | yes | /homelab |
| ssh-password | The SSH password for the remote server. | yes | — |
| ssh-host | The SSH host for the remote server. | no | cicd-ssh-server |
| ssh-user | The SSH user for the remote server. | no | cicd |
| ssh-port | The SSH port for the remote server. | no | 2222 |
Outputs
| name | description |
|---|---|
| didUpdate | Indicates whether the service was updated or not. |