Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

Update main-image-workflow.yml

Danny Avilab7aebf6c5117
diff --git a/.github/workflows/main-image-workflow.yml b/.github/workflows/main-image-workflow.yml
index 37c9bed312..9636c34bb7 100644
--- a/.github/workflows/main-image-workflow.yml
+++ b/.github/workflows/main-image-workflow.yml
@@ -1,4 +1,4 @@
-name: Docker Compose Build Latest Main Image (Manual Dispatch)
+name: Docker Compose Build Latest Main Image Tag (Manual Dispatch)
# The workflow is manually triggered
on:
@@ -42,9 +42,17 @@ jobs:
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
- - name: Retry Build and Push librechat
+ # Adjusted to correct the command and include retry logic
+ - name: Build and push librechat with retry
uses: nick-invision/retry@v3
with:
- timeout_minutes: 20 # Total time to attempt retries
- max_attempts: 3 # Number of retry attempts
- command: docker buildx build --file Dockerfile --push --tags ${{ steps.meta-librechat.outputs.tags }} --platform linux/amd64,linux/arm64 --target node .
+ timeout_minutes: 20
+ max_attempts: 3
+ command: |
+ docker buildx build \
+ --file Dockerfile \
+ --push \
+ $(echo "${{ steps.meta-librechat.outputs.tags }}" | sed "s/,/ --tag /g" | xargs echo --tag) \
+ --platform linux/amd64,linux/arm64 \
+ --target node \
+ .