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 084bf1b commit 5e3ec70
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 [ ${{ 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 5e3ec70

Please sign in to comment.