From 634b996907a7d8b985d7035c009b30edfef6c079 Mon Sep 17 00:00:00 2001 From: iuwqyir Date: Thu, 17 Oct 2024 17:18:36 +0300 Subject: [PATCH] another fix for docker release version --- .github/workflows/docker-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index e25d1de..24ba9f5 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -27,7 +27,8 @@ jobs: with: images: ${{ vars.DOCKER_IMAGE }} tags: | - type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest,enable={{github.event_name == 'workflow_dispatch'}} + type=semver,pattern={{version}} - name: Build and push Docker image uses: docker/build-push-action@v5