This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
.github/actions/deploy_to_kubernetes Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,16 @@ inputs:
11
11
CA_CRT :
12
12
description : Kubernetes CA certificate
13
13
required : true
14
+ KUBE_SERVER :
15
+ description : Kubernetes server
16
+ required : true
17
+ SERVICEACCOUNT_TOKEN :
18
+ description : Kubernetes service account token
19
+ required : true
14
20
runs :
15
21
using : composite
16
22
steps :
17
- - name : Setup Environment variables
23
+ - name : Setup Environment variables
18
24
run : |
19
25
echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV"
20
26
echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV"
24
30
shell : bash
25
31
- name : Deploying to k8s cluster for service ${{ inputs.K8S_NAMESPACE }} 🚀
26
32
run : |
27
- git clone https://github.com/binary-com/devops-ci-scripts
28
- cd devops-ci-scripts/k8s-build_tools
29
- echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
30
- export CA="ca.crt"
31
- ./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
33
+ git clone https://github.com/binary-com/devops-ci-scripts
34
+ cd devops-ci-scripts/k8s-build_tools
35
+ echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
36
+ export CA="ca.crt"
37
+ ./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
32
38
shell : bash
You can’t perform that action at this time.
0 commit comments