Alpine-based image with just ssh (openssh-client)
- Dockerfile 82.9%
- Shell 17.1%
## Intent Forgejo v15 workflow expansion expands reusable workflow calls into their inner jobs at parse time, before `if` conditions are evaluated. This caused both build-image and publish-image to run on every push regardless of branch. ## Key changes Build and publish are now gated by trigger filters (branch patterns) instead of `if` conditions, ensuring only one workflow fires per event. ## Details CI: - ci.yml: build-only workflow, triggers on all branches except main/master - publish.yml: new file, triggers only on main/master and v* tags |
||
|---|---|---|
| .forgejo/workflows | ||
| build | ||
| tests | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| LICENCE | ||
| mise.toml | ||
| README.md | ||
| renovate.json | ||
docker/ssh
Alpine-based image with openssh-client and sshpass.
registry.gitlab.com/xarif/docker/ssh
git.xarif.de/docker/ssh # alternative
Usage
Connect to remote host:
$ docker run --rm -e "SSH_KEY=$(cat ~/.ssh/id_rsa)" registry.gitlab.com/xarif/docker/ssh user@server
License
All contents licensed under the MIT License.