From 74e94963c9a543719fca411bb1c1b33d412e6d10 Mon Sep 17 00:00:00 2001 From: SK Sim Date: Fri, 29 Dec 2023 18:05:21 +0800 Subject: [PATCH] fix typo in deployment file --- buildspec-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec-deploy.yml b/buildspec-deploy.yml index faa77f1..8e427f2 100644 --- a/buildspec-deploy.yml +++ b/buildspec-deploy.yml @@ -8,7 +8,7 @@ phases: - IMAGE_TAG=${IMAGE_TAG:-$(echo $CODEBUILD_WEBHOOK_TRIGGER | awk -F/ {'print $2'})} - aws eks update-kubeconfig --name $ENVIRONMENT-trader-joe-eks - | - for d in $(kubectl get deploy -n $ENVIRONMENT -l app=joepai --no-headers -o custom-columns=_:metadata.name); do + for d in $(kubectl get deploy -n $ENVIRONMENT -l app=joeapi --no-headers -o custom-columns=_:metadata.name); do kubectl set image -n $ENVIRONMENT deployment/$d $d=$REPOSITORY_URI:$IMAGE_TAG done finally: