commit 4c78c5a9c922db803172f1f74f30c70b960f8a84 parent 73f0841f17cfa4a1b8f4cc2cf9a2509c517355e4 Author: Jeremy Lin <jeremy.lin@gmail.com> Date: Wed, 15 Jul 2020 20:02:18 -0700 Tag latest releases as `latest` and `alpine` Diffstat:
M | hooks/push | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hooks/push b/hooks/push @@ -29,13 +29,13 @@ done manifest_lists=("${DOCKER_REPO}:${DOCKER_TAG}") # If the Docker tag starts with a version number, assume the latest release is -# being pushed. Add an extra manifest (`latest-release` or `alpine-release`, -# as appropriate) to make it easier to track the latest release. +# being pushed. Add an extra manifest (`latest` or `alpine`, as appropriate) +# to make it easier for users to track the latest release. if [[ "${DOCKER_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then if [[ "${DOCKER_TAG}" == *alpine ]]; then - manifest_lists+=(${DOCKER_REPO}:alpine-release) + manifest_lists+=(${DOCKER_REPO}:alpine) else - manifest_lists+=(${DOCKER_REPO}:latest-release) + manifest_lists+=(${DOCKER_REPO}:latest) fi fi