From 5b7c7a4471964621e8fe195acec8fb96eb288a1d Mon Sep 17 00:00:00 2001 From: Siddhant Rai Date: Thu, 28 Aug 2025 12:11:06 +0530 Subject: [PATCH] fix: update Docker images in docker-compose to use 'develop' tag --- .github/workflows/docker-publish.yml | 37 ---------------------------- deployment/docker-compose-hub.yaml | 6 ++--- 2 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/docker-publish.yml diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml deleted file mode 100644 index 60ddba1c..00000000 --- a/.github/workflows/docker-publish.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This GitHub Actions workflow builds and pushes Docker images to Docker Hub -# only when a GitHub release is published and the tag name contains 'latest'. -# The image is tagged as both the release tag and 'latest'. - - -name: Build and Push Docker Images (Release: latest only) - -on: - release: - types: [published] - -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image (only for releases with 'latest' in tag) - if: github.event_name == 'release' && contains(github.event.release.tag_name, 'latest') - uses: docker/build-push-action@v5 - with: - context: . - file: ./application/Dockerfile - push: true - tags: | - arc53/docsgpt:${{ github.event.release.tag_name }} - arc53/docsgpt:latest diff --git a/deployment/docker-compose-hub.yaml b/deployment/docker-compose-hub.yaml index d1efc22e..f798571a 100644 --- a/deployment/docker-compose-hub.yaml +++ b/deployment/docker-compose-hub.yaml @@ -1,7 +1,7 @@ name: docsgpt-oss services: frontend: - image: arc53/docsgpt:latest + image: arc53/docsgpt:develop environment: - VITE_API_HOST=http://localhost:7091 - VITE_API_STREAMING=$VITE_API_STREAMING @@ -12,7 +12,7 @@ services: backend: user: root - image: arc53/docsgpt:latest + image: arc53/docsgpt:develop environment: - API_KEY=$API_KEY - EMBEDDINGS_KEY=$API_KEY @@ -35,7 +35,7 @@ services: worker: user: root - image: arc53/docsgpt:latest + image: arc53/docsgpt:develop command: celery -A application.app.celery worker -l INFO -B environment: - API_KEY=$API_KEY