k8sdeploy/action.yaml
2024-04-30 23:34:03 +02:00

22 lines
622 B
YAML

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_REF_NAME: ${{ gitea.ref_name }}
ACTION_KUBECONFIG: ${{ inputs.kubeconfig }}
ACTION_REGISTRY_USERNAME: ${{ inputs.registry_username }}
ACTION_REGISTRY_PASSWORD: ${{ inputs.registry_password }}