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:
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')