diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 60f9894..aeaad6e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -52,3 +52,4 @@ jobs: run: | kubectl apply -f eks/deployment.yml kubectl apply -f eks/service.yml + kubectl set image deployment/simplebank-deployment simplebank=$IMAGE diff --git a/eks/deployment.yml b/eks/deployment.yml index 2f10252..c5edbb8 100644 --- a/eks/deployment.yml +++ b/eks/deployment.yml @@ -27,7 +27,7 @@ spec: - arm64 containers: - name: simplebank - image: $IMAGE + image: aseerkt/simplebank:latest ports: - name: http containerPort: 8080