From a9743b58b1d5300d2430f5be6a245bd613905a0e Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sun, 3 Jul 2022 15:52:05 +0800 Subject: [PATCH] ci: fix prerelease tag (#1377) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b86824420..b14c08b86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,12 @@ jobs: with: images: | ${{ env.IMAGE }} + # https://github.com/docker/metadata-action#typesemver tags: | type=semver,pattern={{version}} + type=semver,pattern={{version}},value=prerelease type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=semver,pattern=prerelease type=edge - name: Set up Docker Buildx