appleboy / drone-ssh

Drone plugin for executing remote ssh commands
MIT License
251 stars 74 forks source link

Upload multiple CPU architectures under the same docker tag #216

Closed albertyw closed 1 year ago

albertyw commented 1 year ago

drone-ssh's docker tags in hub.docker.com are specific to single CPU architectures such as 1-linux-arm64 and 1-linux-amd64. This means that drone configs are not portable between arm64 and amd64 architectures and different tags must be selected based on where the docker container is run.

Can you instead follow the pattern that several other docker images have which is to group multiple CPU architectures under the same docker tag and letting docker clients automatically determine which CPU architecture to pull?

albertyw commented 1 year ago

Looks like this is now done by https://github.com/appleboy/drone-ssh/commit/d0ed2bb2fbd0e68efe8da3db2df142c0ae4b8566

appleboy commented 1 year ago

@albertyw Yes, you are right. Please https://github.com/appleboy/drone-ssh/releases/tag/v1.6.9 version.