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