feat: project setup

This commit is contained in:
Louis Seubert 2026-07-11 17:02:18 +02:00
commit 02188ad59c
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
3 changed files with 76 additions and 0 deletions

27
ssh-add-key/action.yml Normal file
View 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"]