ssh-agent-action/action.yml

34 lines
960 B
YAML
Raw Normal View History

name: 'webfactory/ssh-agent'
description: 'Run `ssh-agent` and load an SSH key to access other private repositories'
inputs:
2024-09-30 14:38:04 +00:00
instance-domain:
2024-09-30 15:19:37 +00:00
description: 'Domain name of the github/gitea/forgejo instance'
2024-09-30 14:38:04 +00:00
required: false
ssh-private-key:
description: 'Private SSH key to register in the SSH agent'
required: true
ssh-auth-sock:
description: 'Where to place the SSH Agent auth socket'
log-public-key:
description: 'Whether or not to log public key fingerprints'
required: false
default: true
ssh-agent-cmd:
description: 'ssh-agent command'
required: false
ssh-add-cmd:
description: 'ssh-add command'
required: false
git-cmd:
description: 'git command'
required: false
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/cleanup.js'
post-if: 'always()'
branding:
2019-09-14 22:33:18 +00:00
icon: loader
color: 'yellow'