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 60a38a9 commit e9b71d9
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 @@ -50,7 +50,7 @@ jobs:
id: get_tag
run: |
if [ ${{ endsWith(github.ref, '-lts') }} = true ]; then
echo "tag=latest-lts,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
echo "tag=latest-lts,latest-${GITHUB_REF:11:4}-lts,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
else
echo "tag=latest,${GITHUB_REF:10}" >>$GITHUB_OUTPUT
fi
Expand Down

0 comments on commit e9b71d9

Please sign in to comment.