From 9f9d3ad6580093b17f400e39ae23ed8d0b79e58b Mon Sep 17 00:00:00 2001 From: Konstantin Kopachev Date: Thu, 24 Oct 2024 13:53:24 -0700 Subject: [PATCH] Fix: Major version image tag is not updated --- .github/workflows/latest.yaml | 2 ++ .github/workflows/lts.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/latest.yaml b/.github/workflows/latest.yaml index a499a95..010df17 100644 --- a/.github/workflows/latest.yaml +++ b/.github/workflows/latest.yaml @@ -56,6 +56,7 @@ jobs: tags: | type=semver,pattern={{version}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} type=semver,pattern={{major}}.{{minor}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} + type=semver,pattern={{major}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} latest labels: | org.opencontainers.image.vendor=Composer @@ -76,6 +77,7 @@ jobs: tags: | type=semver,pattern={{version}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} type=semver,pattern={{major}}.{{minor}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} + type=semver,pattern={{major}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} latest labels: | org.opencontainers.image.vendor=Composer diff --git a/.github/workflows/lts.yaml b/.github/workflows/lts.yaml index fc71b43..2530870 100644 --- a/.github/workflows/lts.yaml +++ b/.github/workflows/lts.yaml @@ -56,6 +56,7 @@ jobs: tags: | type=semver,pattern={{version}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} type=semver,pattern={{major}}.{{minor}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} + type=semver,pattern={{major}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} lts labels: | org.opencontainers.image.vendor=Composer @@ -76,6 +77,7 @@ jobs: tags: | type=semver,pattern={{version}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} type=semver,pattern={{major}}.{{minor}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} + type=semver,pattern={{major}},value=${{ env.COMPOSER_VERSION_MAJOR_MINOR_PATCH }} lts labels: | org.opencontainers.image.vendor=Composer