From af07e48f2d5c8e7afc29f02b83a8cb34e0195aa9 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 18 Dec 2023 17:56:28 +0100 Subject: [PATCH] Add latest-YYYY-lts tags --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1379293..5185425 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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