feat: project setup
This commit is contained in:
commit
02188ad59c
3 changed files with 76 additions and 0 deletions
27
ssh-add-key/action.yml
Normal file
27
ssh-add-key/action.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# SPDX-License-Identifier: EUPL-1.2
|
||||
name: "ssh-add-key"
|
||||
description: "Configure an SSH private key and known hosts"
|
||||
author: "Louis Seubert"
|
||||
inputs:
|
||||
key:
|
||||
description: >
|
||||
The SSH private key content to install. The key will be written to
|
||||
~/.ssh/<name> and added to the SSH agent via ssh-add. Use a secret to pass
|
||||
the key value, e.g. ${{ secrets.SSH_PRIVATE_KEY }}.
|
||||
required: true
|
||||
path:
|
||||
description: >
|
||||
The directory to write the private key to. Defaults to ~/.ssh.
|
||||
required: false
|
||||
default: "~/.ssh"
|
||||
filename:
|
||||
description: >
|
||||
The filename to use when writing the private key to ~/.ssh. This also
|
||||
determines the names of the corresponding -pub and -pub.sig
|
||||
files. Defaults to "id_rsa".
|
||||
required: false
|
||||
default: "id_rsa"
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "docker://code.geekeey.de/component/core:1.0.0"
|
||||
args: ["ssh-add-key"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue