Commit Graph

5 Commits

Author SHA1 Message Date
Renuka Manavalan
ca55099864 Update dockers with platform & SONiC version as part of name/tag. (#4337)
* Include platform info in name.
Get SONiC Version as parameter and use
Make additional tag as optional.
Avoid repetitions by using function.

* Per review comments, make SONIC_VERSION optional and added some comments.

* 1) Added additional params are optional
2) Handle DOCKER_IMAGE_TAG only if given
3) Use BUILD_NUMBER only if SONIC_VERSION not given
4) Tag with SONIC_VERSION if given.

Current behavior is not changed, unless SONIC_VERSION is given.

* Update per review comments
1) Added new args with options
2) Handle PORT possible being empty
3) Exhibit new behavior only if both version & platform are given.

* Drop redundant quotes
2020-04-15 17:19:56 +00:00
Qi Luo
75c6f19f8e
[docker] Refine docker tag for build number (#1484) 2018-03-12 14:45:35 -07:00
lguohan
86befe0cfd [docker]: remove docker images after docke push (#615) 2017-05-19 13:49:43 -07:00
Qi Luo
c4f0833dac push_docker.sh: Remove deprecated comments (#90) 2016-12-01 10:41:29 -08:00
Qi Luo
b68ec0eee8 Split script: push_docker.sh (#89) 2016-12-01 02:18:59 -08:00