feat: k8sdeploy
This commit is contained in:
commit
ea50afcd5c
3 changed files with 44 additions and 0 deletions
20
action.yaml
Normal file
20
action.yaml
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue