Skip to content

Commit

Permalink
Push single tag (#11)
Browse files Browse the repository at this point in the history
* Push a single tag from releases

Signed-off-by: Annanay <[email protected]>

* Nit, tab to space

Signed-off-by: Annanay <[email protected]>
  • Loading branch information
annanay25 authored Feb 19, 2020
1 parent f1267ac commit 4657ff1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/jaeger-dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4657ff1

Please sign in to comment.