add instance-domain option

This commit is contained in:
Alexander Mirgorod 2024-09-30 18:19:37 +03:00
parent 7ee7a7300f
commit fe90c7bf94
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@ To support picking the right key in this use case, this action scans _key commen
The following inputs can be used to control the action's behavior: The following inputs can be used to control the action's behavior:
* `instance-domain`: Optional. The domain name of the github/gitea/forgejo instance. Defaults to `github.com`.
* `ssh-private-key`: Required. Use this to provide the key(s) to load as GitHub Actions secrets. * `ssh-private-key`: Required. Use this to provide the key(s) to load as GitHub Actions secrets.
* `ssh-auth-sock`: Can be used to control where the SSH agent socket will be placed. Ultimately affects the `$SSH_AUTH_SOCK` environment variable. * `ssh-auth-sock`: Can be used to control where the SSH agent socket will be placed. Ultimately affects the `$SSH_AUTH_SOCK` environment variable.
* `log-public-key`: Set this to `false` if you want to suppress logging of _public_ key information. To simplify debugging and since it contains public key information only, this is turned on by default. * `log-public-key`: Set this to `false` if you want to suppress logging of _public_ key information. To simplify debugging and since it contains public key information only, this is turned on by default.

View file

@ -2,7 +2,7 @@ name: 'webfactory/ssh-agent'
description: 'Run `ssh-agent` and load an SSH key to access other private repositories' description: 'Run `ssh-agent` and load an SSH key to access other private repositories'
inputs: inputs:
instance-domain: instance-domain:
description: 'Domain name of the instance (gitea/forgejo)' description: 'Domain name of the github/gitea/forgejo instance'
required: false required: false
ssh-private-key: ssh-private-key:
description: 'Private SSH key to register in the SSH agent' description: 'Private SSH key to register in the SSH agent'