From a23a0f230cba3e513f697498bbc7e0afb902f3ba Mon Sep 17 00:00:00 2001 From: Adrian Weidig Date: Sat, 13 Sep 2025 15:44:53 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20add=20multiple=20docker=20tags=20(lates?= =?UTF-8?q?t,=20latest=5Ffull,=20latest=5Fslim)=20to=20=E2=80=A6=20(#10040?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …release workflow (#10039) This change updates the GitHub Actions workflow to push additional stable tags alongside version tags, enabling automated update tools like Watchtower to detect and pull the latest images correctly. Refs: [https://github.com/infiniflow/ragflow/issues/10039](https://github.com/infiniflow/ragflow/issues/10039) ### What problem does this PR solve? Automated container update tools such as Watchtower rely on stable tags like `latest` to identify the newest images. Previously, only version-specific tags were pushed, which prevented these tools from detecting new releases automatically. This PR adds multiple stable tags (`latest-full`, `latest-slim`) alongside version tags to the Docker image publishing workflow, ensuring smooth and reliable automated updates without manual tag management. ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe): --------- Co-authored-by: Zhichang Yu Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 489daab3e..e5da3d127 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,9 @@ jobs: with: context: . push: true - tags: infiniflow/ragflow:${{ env.RELEASE_TAG }} + tags: | + infiniflow/ragflow:${{ env.RELEASE_TAG }} + infiniflow/ragflow:latest-full file: Dockerfile platforms: linux/amd64 @@ -98,7 +100,9 @@ jobs: with: context: . push: true - tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim + tags: | + infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim + infiniflow/ragflow:latest-slim file: Dockerfile build-args: LIGHTEN=1 platforms: linux/amd64