feat: k8sdeploy

This commit is contained in:
ange 2024-04-30 23:08:27 +02:00
commit ea50afcd5c
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
3 changed files with 44 additions and 0 deletions

20
action.yaml Normal file
View file

@ -0,0 +1,20 @@
inputs:
kubeconfig:
description: kubeconfig file
required: true
registry_username:
description: Registry username
default: ${{ gitea.repository_owner }}
registry_password:
description: Registry password
runs:
using: composite
steps:
- name: k8sdeploy
run: ${{ gitea.action_path }}/k8sdeploy.sh
env:
ACTION_REPO: ${{ gitea.repository }}
ACTION_KUBECONFIG: ${{ inputs.kubeconfig }}
ACTION_REGISTRY_USERNAME: ${{ inputs.registry_username }}
ACTION_REGISTRY_PASSWORD: ${{ inputs.registry_password }}