Fixed release.yml

This commit is contained in:
Zhichang Yu 2024-12-06 14:18:42 +08:00
parent d8eea624e2
commit f576c555e4

View File

@ -85,12 +85,9 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}
- infiniflow/ragflow:${{ env.RELEASE_TAG }}
file: Dockerfile file: Dockerfile
platforms: platforms: linux/amd64 linux/arm64
- linux/amd64
- linux/arm64
# https://github.com/marketplace/actions/build-and-push-docker-images # https://github.com/marketplace/actions/build-and-push-docker-images
- name: Build and push slim image - name: Build and push slim image
@ -98,14 +95,10 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: tags: infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
- infiniflow/ragflow:${{ env.RELEASE_TAG }}-slim
file: Dockerfile file: Dockerfile
build-args: build-args: LIGHTEN=1
- LIGHTEN=1 platforms: linux/amd64 linux/arm64
platforms:
- linux/amd64
- linux/arm64
- name: Build ragflow-sdk - name: Build ragflow-sdk
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')