From 43f6e90887f73a29038bc64391cc6dddd3651e05 Mon Sep 17 00:00:00 2001 From: MrKoberman Date: Tue, 27 Aug 2024 11:42:25 +0100 Subject: [PATCH] update build to use different tagging --- .github/workflows/release.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b2c74409..9b30e1ba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,6 +29,8 @@ jobs: run: | echo $RELEASE_VERSION echo ${{ env.RELEASE_VERSION }} + echo $RELEASE_DATE + echo ${{ env.RELEASE_DATE }} - name: Extract metadata (tags, labels) for Docker images id: meta @@ -36,11 +38,10 @@ jobs: with: images: ghcr.io/${{ github.event.repository.full_name }} tags: | - type=semver,pattern={{version}} - type=semver,pattern={{raw}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} type=sha + type=pep440,pattern={{version}} + type=pep440,pattern={{major}}.{{minor}} + type=raw,value=latest,enable=${{ !contains(env.RELEASE_VERSION, '-') }} - name: Set up QEMU uses: docker/setup-qemu-action@v2