This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
actions/deploy_to_kubernetes Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ inputs:
1717 SERVICEACCOUNT_TOKEN :
1818 description : Kubernetes service account token
1919 required : true
20+ DOCKERHUB_ORGANISATION :
21+ description : Dockerhub organisation
22+ required : true
2023runs :
2124 using : composite
2225 steps :
2528 echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV"
2629 echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV"
2730 echo "SERVICEACCOUNT_TOKEN=${{ inputs.SERVICEACCOUNT_TOKEN }}" >> "$GITHUB_ENV"
31+ echo "DOCKERHUB_ORGANISATION=${{ inputs.DOCKERHUB_ORGANISATION }}" >> "$GITHUB_ENV"
2832 echo "CA_CRT=${{ inputs.CA_CRT }}" >> "$GITHUB_ENV"
29- echo "APP_NAME=deriv-api-docs " >> "$GITHUB_ENV"
33+ echo "APP_NAME=deriv-com-api " >> "$GITHUB_ENV"
3034 shell : bash
3135 - name : Deploying to k8s cluster for service ${{ inputs.K8S_NAMESPACE }} 🚀
3236 run : |
Original file line number Diff line number Diff line change 4949 CA_CRT : ${{ secrets.CA_CRT }}
5050 SERVICEACCOUNT_TOKEN : ${{ secrets.SERVICEACCOUNT_TOKEN }}
5151 KUBE_SERVER : ${{ secrets.KUBE_SERVER }}
52+ DOCKERHUB_ORGANISATION : ${{ secrets.DOCKERHUB_ORGANISATION }}
5253
5354 send_slack_notification :
5455 name : Send Slack Notification
Original file line number Diff line number Diff line change 4242 CA_CRT : ${{ secrets.CA_CRT }}
4343 SERVICEACCOUNT_TOKEN : ${{ secrets.SERVICEACCOUNT_TOKEN }}
4444 KUBE_SERVER : ${{ secrets.KUBE_SERVER }}
45+ DOCKERHUB_ORGANISATION : ${{ secrets.DOCKERHUB_ORGANISATION }}
You can’t perform that action at this time.
0 commit comments