File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,5 +74,39 @@ make uninstall
7474make undeploy
7575```
7676
77- ##
77+ ## Update cdnos controller image on AWS
7878
79+ To update cdnos controller, update the image tag on makefile:
80+ This line:
81+ >>> CONTROLLER_IMG ?= public.ecr.aws/dn/cdnos-controller:<your-tag >
82+
83+
84+ Rebuild the image:
85+
86+ ``` sh
87+ make docker-build
88+ ```
89+
90+ Connect to aws ecr registry:
91+ ``` sh
92+ aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/dn
93+ ```
94+
95+ Push image to registry:
96+ ``` sh
97+ make docker-push` ` `
98+
99+ We want to keep the latest tag updated so tag the image to ` latest` :
100+ ` ` ` sh
101+ docker tag public.ecr.aws/dn/cdnos-controller:< your-tag> public.ecr.aws/dn/cdnos-controller:latest
102+ ```
103+
104+ And push it to AWS ecr:
105+ ``` sh
106+ docker push public.ecr.aws/dn/cdnos-controller:latest
107+ ```
108+
109+ You should now be able to pull the image:
110+
111+ ``` sh
112+ docker pull public.ecr.aws/dn/cdnos-controller:< your-tag> ` ` `
You can’t perform that action at this time.
0 commit comments