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