Commit Graph

36 Commits

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>
2024-03-16 15:45:28 +08:00
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>
2024-01-07 19:39:23 +08:00
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>
2024-01-01 14:22:41 +08:00
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>
2023-12-26 15:11:53 +08:00
Bo-Yi Wu
5ac43dd762
chore(ssh): pass all ENV variables to script (#259) 2023-07-23 09:53:20 +08:00
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>
2023-06-04 16:30:25 +08:00
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
2023-04-13 11:15:42 +08:00
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
2023-04-04 17:25:53 +08:00
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>
2023-02-28 17:16:13 +08:00
Bo-Yi Wu
7bf58514db
chore(auth): allow set password and private key at same time. (#226) 2023-02-28 17:11:47 +08:00
Bo-Yi Wu
d91a1af6f5
Fix(envs): set environment variable instead of bash variable (#209) 2023-01-08 09:08:14 +08:00
Bo-Yi Wu
9a7da95c8c chore(ssh): upgrade to drone 1.6.5 2022-12-09 10:13:56 +08:00
Dániel Dobos
a8d82ec39b
Switch to appleboy/drone-ssh:1.6.4 (#171) 2022-07-29 21:19:21 +08:00
Bo-Yi Wu
63dd9dd662 chore: replace ADD with COPY 2021-02-13 10:55:57 +08:00
Bo-Yi Wu
1d1b21ca96
Support multiple host with different port (#94) 2020-11-17 10:51:06 +08:00
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>
2020-11-17 10:20:18 +08:00
Bo-Yi Wu
bf84735fa9 fix: Multiline SSH commands interpreted as single lines
fix https://github.com/appleboy/ssh-action/issues/75
2020-08-08 15:39:00 +08:00
Bo-Yi Wu
d09b6e0211 chore: try the latest version 2020-08-08 15:34:38 +08:00
Bo-Yi Wu
e2cbea5f00
chore: bump drone-ssh to v1.6.1 (#63)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-15 16:45:26 +08:00
Bo-Yi Wu
682eb0ddda chore: bump drone-ssh to v1.6.0 2020-05-24 13:59:21 +08:00
Bo-Yi Wu
1cb5cd31c9 chore: update to latest version 2020-05-24 12:09:05 +08:00
Bo-Yi Wu
c9eebc1cde
chore: support use_insecure_cipher (#57) 2020-05-24 10:54:31 +08:00
Daniel Hwang
6b00175bad
add support for fingerprint: (#54) 2020-05-19 14:21:26 +08:00
Bo-Yi Wu
ad6643f705 chore: support ciphers
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-30 15:56:29 +08:00
Bo-Yi Wu
26dd2b3a38 chore: upgrade drone-ssh to 1.5.6 2020-04-16 22:24:18 +08:00
Bo-Yi Wu
e5c07fceef
support passphrase (#18)
* support passphrase

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-12-30 19:50:55 +08:00
Bo-Yi Wu
9085f3ea5b chore: update default timeout to 10 minutes 2019-11-30 23:01:49 +08:00
Bo-Yi Wu
6f091cd9e3 chore(ssh): remove comma splitting
fix https://github.com/appleboy/ssh-action/issues/10
2019-11-21 11:10:52 +08:00
Bo-Yi Wu
a2d5832a97 chore: update drone-ssh version 2019-09-29 12:11:00 +08:00
Bo-Yi Wu
b87ddeff00 fix: ENTRYPOINT in dockerfile 2019-09-29 10:50:09 +08:00
Bo-Yi Wu
46adad98f2 chore: try the drone-ssh latest version 2019-09-29 10:44:56 +08:00
Bo-Yi Wu
b305709c8d chore: remove github action label 2019-09-29 10:36:34 +08:00
Bo-Yi Wu
c94d94aab3 bump to 0.0.2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-16 10:07:59 +08:00
Bo-Yi Wu
592a3daf58 upgrade to 1.5.1
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-16 10:07:41 +08:00
Bo-Yi Wu
d5e4d4798e chore: add drone-ssh version. 2019-05-15 07:13:49 +08:00
Bo-Yi Wu
5e4c286287 feat: initial 2019-05-15 00:31:53 +08:00