Files
dockerfiles/node/hooks/post_push
Qi Zheng 4f2d5c684d Unify the tags way
For version format x.y.z, three tags as below
    tag: x.y.z
    tag1: x.y
    tag2: x
They all point to the latest image.
Once app got updated (minor updates, z to z1), the tag x.y.z
will be replaced by x.y.z1, but the tag x or x.y may still
keep.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-11-20 10:49:12 +08:00

8 lines
97 B
Bash
Executable File

#!/bin/bash
. ../docker-hooks.sh
image="clearlinux/node"
package=nodejs
do_tag $image $package