From f576c555e4216bc9f4f75ff15c5cddc790b5c309 Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Fri, 6 Dec 2024 14:18:42 +0800 Subject: [PATCH] Fixed release.yml --- .github/workflows/release.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9a37fcc8..571f5462c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,12 +85,9 @@ jobs: with: context: . push: true - tags: - - infiniflow/ragflow:${{ env.RELEASE_TAG }} + tags: infiniflow/ragflow:${{ env.RELEASE_TAG }} file: Dockerfile - platforms: - - linux/amd64 - - linux/arm64 + platforms: linux/amd64 linux/arm64 # https://github.com/marketplace/actions/build-and-push-docker-images - name: Build and push slim image @@ -98,14 +95,10 @@ jobs: with: context: . push: true - tags: - - infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim + tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim file: Dockerfile - build-args: - - LIGHTEN=1 - platforms: - - linux/amd64 - - linux/arm64 + build-args: LIGHTEN=1 + platforms: linux/amd64 linux/arm64 - name: Build ragflow-sdk if: startsWith(github.ref, 'refs/tags/v')