Skip to content

Commit

Permalink
Revise latest tag fetch script for release.
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <humair88@hotmail.com>
  • Loading branch information
HumairAK committed Jul 14, 2023
1 parent 9513743 commit d8127ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag-release-quay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_ROBOT_TOKEN}
- name: Get latest tag name
id: tag
run: echo "tag=$(git describe --tags --abbrev=0)" >> ${GITHUB_OUTPUT}
run: echo "tag=$(git tag | tail -n 1)" >> ${GITHUB_OUTPUT}
- name: Get latest tag hash
id: hash
run: echo "hash=$(git rev-parse --short=7 ${{ steps.tag.outputs.tag }} )" >> ${GITHUB_OUTPUT}
Expand Down

0 comments on commit d8127ab

Please sign in to comment.