From 778cfb37a287d8673faaa0076dc04fe8a405f6d3 Mon Sep 17 00:00:00 2001 From: takatost Date: Tue, 21 Nov 2023 17:34:41 +0800 Subject: [PATCH] feat: bump version to 0.3.31-fix1 (#1589) --- .github/workflows/build-api-image.yml | 4 +--- .github/workflows/build-web-image.yml | 4 +--- docker/docker-compose.yaml | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-api-image.yml b/.github/workflows/build-api-image.yml index 1b5bf764ec..d1dcdcdbe3 100644 --- a/.github/workflows/build-api-image.yml +++ b/.github/workflows/build-api-image.yml @@ -34,9 +34,7 @@ jobs: type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} type=ref,event=branch type=sha,enable=true,priority=100,prefix=,suffix=,format=long - type=semver,pattern={{major}}.{{minor}}.{{patch}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} + type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }} - name: Build and push uses: docker/build-push-action@v4 diff --git a/.github/workflows/build-web-image.yml b/.github/workflows/build-web-image.yml index 32685d5092..b9928bbd7f 100644 --- a/.github/workflows/build-web-image.yml +++ b/.github/workflows/build-web-image.yml @@ -34,9 +34,7 @@ jobs: type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} type=ref,event=branch type=sha,enable=true,priority=100,prefix=,suffix=,format=long - type=semver,pattern={{major}}.{{minor}}.{{patch}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} + type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }} - name: Build and push uses: docker/build-push-action@v4 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index a2a76982d2..22406c5a87 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3.1' services: # API service api: - image: langgenius/dify-api:0.3.31 + image: langgenius/dify-api:0.3.31-fix1 restart: always environment: # Startup mode, 'api' starts the API server. @@ -128,7 +128,7 @@ services: # worker service # The Celery worker for processing the queue. worker: - image: langgenius/dify-api:0.3.31 + image: langgenius/dify-api:0.3.31-fix1 restart: always environment: # Startup mode, 'worker' starts the Celery worker for processing the queue. @@ -196,7 +196,7 @@ services: # Frontend web application. web: - image: langgenius/dify-web:0.3.31 + image: langgenius/dify-web:0.3.31-fix1 restart: always environment: EDITION: SELF_HOSTED