From 5bddb5730b77d0d7271b61359901f2563c43403f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 18 Dec 2023 18:02:17 +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 1bfeae2..f2cbd30 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