diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 52286ee828531..c8c847ecfaddc 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 97860d3709dcc..8f726f3935f3c 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