From d7b2fe1e8bcf3fb3d5b947f73872ba2fba980cf7 Mon Sep 17 00:00:00 2001 From: takatost Date: Sun, 24 Mar 2024 00:14:53 +0900 Subject: [PATCH] update docker compose images verison --- .github/workflows/build-push.yml | 2 +- docker/docker-compose.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 52286ee8285311..c8c847ecfaddc4 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -47,7 +47,7 @@ jobs: with: images: ${{ env[matrix.image_name_env] }} tags: | - type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/') }} type=ref,event=branch type=sha,enable=true,priority=100,prefix=,suffix=,format=long type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }} diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 97860d3709dcc7..8f726f3935f3c0 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3' services: # API service api: - image: langgenius/dify-api:0.5.10 + image: langgenius/dify-api:0.6.0-preview-workflow.1 restart: always environment: # Startup mode, 'api' starts the API server. @@ -143,7 +143,7 @@ services: # worker service # The Celery worker for processing the queue. worker: - image: langgenius/dify-api:0.5.10 + image: langgenius/dify-api:0.6.0-preview-workflow.1 restart: always environment: # Startup mode, 'worker' starts the Celery worker for processing the queue. @@ -225,7 +225,7 @@ services: # Frontend web application. web: - image: langgenius/dify-web:0.5.10 + image: langgenius/dify-web:0.6.0-preview-workflow.1 restart: always environment: EDITION: SELF_HOSTED