From 4657ff15d750fcb4e211ccac993736cda5602518 Mon Sep 17 00:00:00 2001 From: Annanay Agarwal Date: Wed, 19 Feb 2020 22:10:42 +0530 Subject: [PATCH] Push single tag (#11) * Push a single tag from releases Signed-off-by: Annanay * Nit, tab to space Signed-off-by: Annanay --- .github/workflows/jaeger-dockerimage.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/jaeger-dockerimage.yml b/.github/workflows/jaeger-dockerimage.yml index 4574447..1cb5382 100644 --- a/.github/workflows/jaeger-dockerimage.yml +++ b/.github/workflows/jaeger-dockerimage.yml @@ -32,11 +32,7 @@ jobs: elif [[ "${GITHUB_REF}" =~ refs/tags/v[0-9]+\.[0-9]+\.[0-9]+ ]]; then TAG="${GITHUB_REF#"refs/tags/v"}" tag_and_push "${TAG}" - if [[ "${TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - tag_and_push "${TAG%.*}" - tag_and_push "${TAG%.*.*}"; - tag_and_push "latest" - fi + tag_and_push "latest" else tag_and_push "${GITHUB_REF#"refs/tags/"}" fi