Commit Graph

36 Commits (977b74a12d4201105f3b851126516847ed6b80b0)

Author SHA1 Message Date
Bo-Yi Wu c78141851a
ci: enhance GitHub Actions for IPv6 and flexibility (#303)
* ci: enhance GitHub Actions for IPv6 and flexibility

- Add a new CI job for testing IPv6 in GitHub Actions workflow
- Update the Docker image version from `1.7.3` to `1.7.4`
- Add a new `protocol` input parameter to the GitHub action with a default value of `tcp`
- Change the GitHub action to use a composite run steps action instead of a Docker container
- Update the `entrypoint.sh` script to use `bash` instead of `sh`, set stricter error handling, and add a function to detect client platform and architecture
- Modify the `entrypoint.sh` script to download a specific version of `drone-ssh` based on the detected client info and execute it

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* ci: refactor CI workflow and Docker setup

- Remove IPv6 ping command from CI workflow
- Uncomment Docker run configuration in action.yml

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
9 months ago
Bo-Yi Wu d134a26a1f
fix(sudo): support request_pty to execute sudo command (#288)
- Add a new job called `testing05` to the CI workflow
- Update the base image in the Dockerfile from `1.7.2` to `1.7.3`
- Update the action name, description, and author in the action.yml file
- Update the descriptions for various inputs in the action.yml file
- Add a new input `request_pty` with a description in the action.yml file
- Update the `using` and `image` fields in the action.yml file
- Update the `using` and `image` fields in the runs section of the action.yml file
- Update the `icon` and `color` fields in the branding section of the action.yml file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
12 months ago
Bo-Yi Wu 1f3c338936
chore: update base image to 1.7.2 in Dockerfile
- Update the base image from `1.7.1` to `1.7.2` in the Dockerfile

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
12 months ago
Bo-Yi Wu 2344d97573
chore(security): update drone-ssh to v1.7.1 (#286)
- Update the base image in Dockerfile from `1.7.0` to `1.7.1`
- Change the location of `entrypoint.sh` from root to `/bin/` directory in Dockerfile
- Remove the explicit `chmod +x` command for `entrypoint.sh` in Dockerfile

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 year ago
Bo-Yi Wu 5ac43dd762
chore(ssh): pass all ENV variables to script (#259) 1 year ago
Bo-Yi Wu a01d3ea1df chore: improve performance and test coverage across OSs
- Update the Dockerfile to use drone-ssh version 1.6.14

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2 years ago
Bo-Yi Wu 334f9259f2
chore: update action configuration for greater flexibility (#240)
- Update base image version from `1.6.12` to `1.6.13` in Dockerfile
- Add `envs_format` input with flexible configuration in action.yml
- Add a line to README.md pointing to action.yml for more information

fix https://github.com/appleboy/ssh-action/issues/213
2 years ago
Bo-Yi Wu 3cd1bcf771
feat: refactor code for parallel execution on multiple hosts (#237)
- Update Dockerfile to use a newer version of `drone-ssh`
- Modify `ci.yml` to use `continue-on-error` instead of commenting out code

fix https://github.com/appleboy/ssh-action/issues/233
2 years ago
Bo-Yi.Wu ae2bb3c3dc chore(docker): update appleboy/drone-ssh to v1.6.10 version
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2 years ago
Bo-Yi Wu 7bf58514db
chore(auth): allow set password and private key at same time. (#226) 2 years ago
Bo-Yi Wu d91a1af6f5
Fix(envs): set environment variable instead of bash variable (#209) 2 years ago
Bo-Yi Wu 9a7da95c8c chore(ssh): upgrade to drone 1.6.5 2 years ago
Dániel Dobos a8d82ec39b
Switch to appleboy/drone-ssh:1.6.4 (#171) 2 years ago
Bo-Yi Wu 63dd9dd662 chore: replace ADD with COPY 4 years ago
Bo-Yi Wu 1d1b21ca96
Support multiple host with different port (#94) 4 years ago
Bo-Yi Wu 9fb11fb1f5 chore(host): support multiple port
https://github.com/appleboy/ssh-action/issues/85

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Bo-Yi Wu bf84735fa9 fix: Multiline SSH commands interpreted as single lines
fix https://github.com/appleboy/ssh-action/issues/75
4 years ago
Bo-Yi Wu d09b6e0211 chore: try the latest version 4 years ago
Bo-Yi Wu e2cbea5f00
chore: bump drone-ssh to v1.6.1 (#63)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Bo-Yi Wu 682eb0ddda chore: bump drone-ssh to v1.6.0 5 years ago
Bo-Yi Wu 1cb5cd31c9 chore: update to latest version 5 years ago
Bo-Yi Wu c9eebc1cde
chore: support use_insecure_cipher (#57) 5 years ago
Daniel Hwang 6b00175bad
add support for fingerprint: (#54) 5 years ago
Bo-Yi Wu ad6643f705 chore: support ciphers
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Bo-Yi Wu 26dd2b3a38 chore: upgrade drone-ssh to 1.5.6 5 years ago
Bo-Yi Wu e5c07fceef
support passphrase (#18)
* support passphrase

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Bo-Yi Wu 9085f3ea5b chore: update default timeout to 10 minutes 5 years ago
Bo-Yi Wu 6f091cd9e3 chore(ssh): remove comma splitting
fix https://github.com/appleboy/ssh-action/issues/10
5 years ago
Bo-Yi Wu a2d5832a97 chore: update drone-ssh version 5 years ago
Bo-Yi Wu b87ddeff00 fix: ENTRYPOINT in dockerfile 5 years ago
Bo-Yi Wu 46adad98f2 chore: try the drone-ssh latest version 5 years ago
Bo-Yi Wu b305709c8d chore: remove github action label 5 years ago
Bo-Yi Wu c94d94aab3 bump to 0.0.2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
6 years ago
Bo-Yi Wu 592a3daf58 upgrade to 1.5.1
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
6 years ago
Bo-Yi Wu d5e4d4798e chore: add drone-ssh version. 6 years ago
Bo-Yi Wu 5e4c286287 feat: initial 6 years ago