Skip to content

Commit d8127ab

Browse files
committed
Revise latest tag fetch script for release.
Signed-off-by: Humair Khan <[email protected]>
1 parent 9513743 commit d8127ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag-release-quay.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_ROBOT_TOKEN}
4545
- name: Get latest tag name
4646
id: tag
47-
run: echo "tag=$(git describe --tags --abbrev=0)" >> ${GITHUB_OUTPUT}
47+
run: echo "tag=$(git tag | tail -n 1)" >> ${GITHUB_OUTPUT}
4848
- name: Get latest tag hash
4949
id: hash
5050
run: echo "hash=$(git rev-parse --short=7 ${{ steps.tag.outputs.tag }} )" >> ${GITHUB_OUTPUT}

0 commit comments

Comments
 (0)