Skip to content

Commit

Permalink
Add latest-YYYY-lts tags
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 18, 2023
1 parent ea349b1 commit ecc380d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
id: get_tag
run: |
if [ ${{ startsWith(github.ref, 'refs/tags/') }} = true ]; then
echo "tag=latest,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
echo "tag=latest,latest-${GITHUB_REF:11:4}-lts,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
else
echo "tag=latest" >>$GITHUB_OUTPUT
fi
Expand Down

0 comments on commit ecc380d

Please sign in to comment.