update aws deploy

This commit is contained in:
Aditya Pradana
2023-01-23 14:52:03 +08:00
committed by GitHub
parent 815a93fb9f
commit 7adf6ef958
2 changed files with 2 additions and 2 deletions

View File

@@ -45,5 +45,5 @@ jobs:
mv kubectl /usr/local/bin/
cd ~
mkdir .kube
aws eks update-kubeconfig --region ap-southeast-3 --name production-clusters
aws eks update-kubeconfig --region ap-southeast-3 --name btwedutech
kubectl set image cronjob/$APP $APPTARGET=$REGISTRY:$TAG

View File

@@ -45,6 +45,6 @@ jobs:
mv kubectl /usr/local/bin/
cd ~
mkdir .kube
aws eks update-kubeconfig --region ap-southeast-3 --name production-clusters
aws eks update-kubeconfig --region ap-southeast-3 --name btwedutech
kubectl set image deployment/$APP $APPTARGET=$REGISTRY:$TAG
kubectl rollout restart deployment/$APP