| @@ -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 | |||
| @@ -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 | |||
| @@ -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 | |||