From 80e7cf9c03eb8b911fa4723943a40c7bae2050ff Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Sun, 3 Nov 2024 17:53:09 +0100 Subject: [PATCH] Create the latest ONLY for the automatic releases --- .github/workflows/docker-ghcrio.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-ghcrio.yml b/.github/workflows/docker-ghcrio.yml index df11178b5..aa9973892 100644 --- a/.github/workflows/docker-ghcrio.yml +++ b/.github/workflows/docker-ghcrio.yml @@ -25,7 +25,7 @@ jobs: images: ghcr.io/${{ github.repository }} # create latest tag for branch events flavor: | - latest=auto + latest=${{ inputs.ref && 'false' || 'auto' }} tags: | type=semver,pattern={{version}},value=${{inputs.ref}} type=semver,pattern={{major}}.{{minor}},value=${{inputs.ref}}